Nernst

class Nernst

Nernst: Calculates Nernst potential for a given ion based on Cin and Cout, the inside and outside concentrations. Immediately sends out the potential to all targets.

getE()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setTemperature()

(destination message field) Assigns field value.

getTemperature()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setValence()

(destination message field) Assigns field value.

getValence()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setCin()

(destination message field) Assigns field value.

getCin()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setCout()

(destination message field) Assigns field value.

getCout()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

setScale()

(destination message field) Assigns field value.

getScale()

(destination message field) Requests field value. The requesting Element must provide a handler for the returned value.

ci()

(destination message field) Set internal conc of ion, and immediately send out the updated E

co()

(destination message field) Set external conc of ion, and immediately send out the updated E

Eout

double (source message field) Computed reversal potential

E

double (value field) Computed reversal potential

Temperature

double (value field) Temperature of cell

valence

int (value field) Valence of ion in Nernst calculation

Cin

double (value field) Internal conc of ion

Cout

double (value field) External conc of ion

scale

double (value field) Voltage scale factor