// This model generated automatically from SBML
// WARNING: Renamed variable _space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol to xxx_space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_space_4_minus_Dihydroxyphenylacetaldehyde to xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_space_4_minus_Dihydroxymandelaldehyde to xxx_space_3_space_4_minus_Dihydroxymandelaldehyde due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_space_4_minus_Dihydroxyphenylethyleneglycol to xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_minus_Hydroxyphenylacetate to xxx_space_3_minus_Hydroxyphenylacetate due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_space_4_minus_Dihydroxyphenylacetate to xxx_space_3_space_4_minus_Dihydroxyphenylacetate due to JSim namespace restrictions
// WARNING: Renamed variable _space_4_minus_Hydroxyphenylacetate to xxx_space_4_minus_Hydroxyphenylacetate due to JSim namespace restrictions
// WARNING: Renamed variable _space_4_minus_Hydroxyphenylacetaldehyde to xxx_space_4_minus_Hydroxyphenylacetaldehyde due to JSim namespace restrictions
// WARNING: Renamed variable _space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate to xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate due to JSim namespace restrictions
// unit definitions
import nsrunit;
unit conversion off;
// SBML property definitions
property sbmlRole=string;
property sbmlName=string;
property sbmlCompartment=string;
// SBML reactions
// R02698: _space_4_minus_Hydroxyphenylacetate <=> _space_3_space_4_minus_Dihydroxyphenylacetate
// R03299: _space_3_minus_Hydroxyphenylacetate <=> _space_3_space_4_minus_Dihydroxyphenylacetate
// R04880: _space_3_space_4_minus_Dihydroxyphenylethyleneglycol => _space_3_space_4_minus_Dihydroxymandelaldehyde
// R04300: _space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol <=> _space_3_space_4_minus_Dihydroxyphenylacetaldehyde
// R02382: Tyramine <=> _space_4_minus_Hydroxyphenylacetaldehyde
// R00734: L_minus_Tyrosine => _space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate
math main {
realDomain time second;
time.min=0;
extern time.max;
extern time.delta;
// variable definitions
real default = 1 L;
real uVol = 1 L;
real E1_space_1_space_1_space_1 = 0 M;
real E1_space_14_space_13_space_3 = 0 M;
real E1_space_4_space_3_space_6 = 0 M;
real E2_space_6_space_1_space_1 = 0 M;
real E2_space_6_space_1_space_9 = 0 M;
real xxx_space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol(time) M;
real xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde(time) M;
real xxx_space_3_space_4_minus_Dihydroxymandelaldehyde(time) M;
real xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol(time) M;
real xxx_space_3_minus_Hydroxyphenylacetate(time) M;
real xxx_space_3_space_4_minus_Dihydroxyphenylacetate(time) M;
real xxx_space_4_minus_Hydroxyphenylacetate(time) M;
real xxx_space_4_minus_Hydroxyphenylacetaldehyde(time) M;
real xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate(time) M;
real Tyramine(time) M;
real L_minus_Tyrosine(time) M;
real R02698(time) katal;
extern real R02698.kf;
extern real R02698.kb;
real R03299(time) katal;
extern real R03299.kf;
extern real R03299.kb;
real R04880(time) katal;
extern real R04880.kf;
extern real R04880.kb;
real R04300(time) katal;
extern real R04300.kf;
extern real R04300.kb;
real R02382(time) katal;
extern real R02382.kf;
extern real R02382.kb;
real R00734(time) katal;
extern real R00734.kf;
extern real R00734.kb;
// equations
when (time=time.min) xxx_space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol = 0;
(xxx_space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol*uVol):time = -1*R04300;
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde = 0;
(xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde*uVol):time = R04300;
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxymandelaldehyde = 0;
(xxx_space_3_space_4_minus_Dihydroxymandelaldehyde*uVol):time = R04880;
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol = 0;
(xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol*uVol):time = -1*R04880;
when (time=time.min) xxx_space_3_minus_Hydroxyphenylacetate = 0;
(xxx_space_3_minus_Hydroxyphenylacetate*uVol):time = -1*R03299;
when (time=time.min) xxx_space_3_space_4_minus_Dihydroxyphenylacetate = 0;
(xxx_space_3_space_4_minus_Dihydroxyphenylacetate*uVol):time = R02698 + R03299;
when (time=time.min) xxx_space_4_minus_Hydroxyphenylacetate = 0;
(xxx_space_4_minus_Hydroxyphenylacetate*uVol):time = -1*R02698;
when (time=time.min) xxx_space_4_minus_Hydroxyphenylacetaldehyde = 0;
(xxx_space_4_minus_Hydroxyphenylacetaldehyde*uVol):time = R02382;
when (time=time.min) xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate = 0;
(xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate*uVol):time = R00734;
when (time=time.min) Tyramine = 0;
(Tyramine*uVol):time = -1*R02382;
when (time=time.min) L_minus_Tyrosine = 0;
(L_minus_Tyrosine*uVol):time = -1*R00734;
R02698 = R02698.kf*_space_4_minus_Hydroxyphenylacetate - R02698.kb*_space_3_space_4_minus_Dihydroxyphenylacetate;
R03299 = R03299.kf*_space_3_minus_Hydroxyphenylacetate - R03299.kb*_space_3_space_4_minus_Dihydroxyphenylacetate;
R04880 = R04880.kf*_space_3_space_4_minus_Dihydroxyphenylethyleneglycol - R04880.kb*_space_3_space_4_minus_Dihydroxymandelaldehyde;
R04300 = R04300.kf*_space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol - R04300.kb*_space_3_space_4_minus_Dihydroxyphenylacetaldehyde;
R02382 = R02382.kf*Tyramine - R02382.kb*_space_4_minus_Hydroxyphenylacetaldehyde;
R00734 = R00734.kf*L_minus_Tyrosine - R00734.kb*_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate;
// variable properties
default.sbmlRole="compartment";
uVol.sbmlRole="compartment";
E1_space_1_space_1_space_1.sbmlRole="species";
E1_space_1_space_1_space_1.sbmlCompartment="uVol";
E1_space_14_space_13_space_3.sbmlRole="species";
E1_space_14_space_13_space_3.sbmlCompartment="uVol";
E1_space_4_space_3_space_6.sbmlRole="species";
E1_space_4_space_3_space_6.sbmlCompartment="uVol";
E2_space_6_space_1_space_1.sbmlRole="species";
E2_space_6_space_1_space_1.sbmlCompartment="uVol";
E2_space_6_space_1_space_9.sbmlRole="species";
E2_space_6_space_1_space_9.sbmlCompartment="uVol";
xxx_space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol.sbmlRole="species";
xxx_space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol.sbmlName="_space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol";
xxx_space_4_minus__space_2_minus_Aminoethyl_space__minus_1_space_2_minus_benzenediol.sbmlCompartment="uVol";
xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde.sbmlRole="species";
xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde.sbmlName="_space_3_space_4_minus_Dihydroxyphenylacetaldehyde";
xxx_space_3_space_4_minus_Dihydroxyphenylacetaldehyde.sbmlCompartment="uVol";
xxx_space_3_space_4_minus_Dihydroxymandelaldehyde.sbmlRole="species";
xxx_space_3_space_4_minus_Dihydroxymandelaldehyde.sbmlName="_space_3_space_4_minus_Dihydroxymandelaldehyde";
xxx_space_3_space_4_minus_Dihydroxymandelaldehyde.sbmlCompartment="uVol";
xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol.sbmlRole="species";
xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol.sbmlName="_space_3_space_4_minus_Dihydroxyphenylethyleneglycol";
xxx_space_3_space_4_minus_Dihydroxyphenylethyleneglycol.sbmlCompartment="uVol";
xxx_space_3_minus_Hydroxyphenylacetate.sbmlRole="species";
xxx_space_3_minus_Hydroxyphenylacetate.sbmlName="_space_3_minus_Hydroxyphenylacetate";
xxx_space_3_minus_Hydroxyphenylacetate.sbmlCompartment="uVol";
xxx_space_3_space_4_minus_Dihydroxyphenylacetate.sbmlRole="species";
xxx_space_3_space_4_minus_Dihydroxyphenylacetate.sbmlName="_space_3_space_4_minus_Dihydroxyphenylacetate";
xxx_space_3_space_4_minus_Dihydroxyphenylacetate.sbmlCompartment="uVol";
xxx_space_4_minus_Hydroxyphenylacetate.sbmlRole="species";
xxx_space_4_minus_Hydroxyphenylacetate.sbmlName="_space_4_minus_Hydroxyphenylacetate";
xxx_space_4_minus_Hydroxyphenylacetate.sbmlCompartment="uVol";
xxx_space_4_minus_Hydroxyphenylacetaldehyde.sbmlRole="species";
xxx_space_4_minus_Hydroxyphenylacetaldehyde.sbmlName="_space_4_minus_Hydroxyphenylacetaldehyde";
xxx_space_4_minus_Hydroxyphenylacetaldehyde.sbmlCompartment="uVol";
xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate.sbmlRole="species";
xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate.sbmlName="_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate";
xxx_space_3_minus__space_4_minus_Hydroxyphenyl_space_pyruvate.sbmlCompartment="uVol";
Tyramine.sbmlRole="species";
Tyramine.sbmlCompartment="uVol";
L_minus_Tyrosine.sbmlRole="species";
L_minus_Tyrosine.sbmlCompartment="uVol";
R02698.sbmlRole="rate";
R02698.kf.sbmlRole="rate";
R02698.kb.sbmlRole="rate";
R03299.sbmlRole="rate";
R03299.kf.sbmlRole="rate";
R03299.kb.sbmlRole="rate";
R04880.sbmlRole="rate";
R04880.kf.sbmlRole="rate";
R04880.kb.sbmlRole="rate";
R04300.sbmlRole="rate";
R04300.kf.sbmlRole="rate";
R04300.kb.sbmlRole="rate";
R02382.sbmlRole="rate";
R02382.kf.sbmlRole="rate";
R02382.kb.sbmlRole="rate";
R00734.sbmlRole="rate";
R00734.kf.sbmlRole="rate";
R00734.kb.sbmlRole="rate";
}