Skip to content

Commit

Permalink
Introduce min=0 for StoichiometricCoefficient in Units.mo
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkumar-narasimhan committed Jan 19, 2024
1 parent 4df4284 commit f930893
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Modelica/Units.mo
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,8 @@ end UsersGuide;
type StoichiometricNumber = Real (final quantity="StoichiometricNumber",
final unit="1");
type StoichiometricCoefficient = Real (final quantity="StoichiometricCoefficient",
final unit="1");
final unit="1",
min=0);
type Affinity = Real (final quantity="Affinity", final unit="J/mol");
type MassOfMolecule = Real (final quantity="Mass", final unit="kg");
type ElectricDipoleMomentOfMolecule = Real (final quantity=
Expand Down

0 comments on commit f930893

Please sign in to comment.