Skip to content

Commit

Permalink
Update Modelica/StateGraph.mo
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Beutlich <modelica@tbeu.de>
  • Loading branch information
HansOlsson and beutlich committed Jan 17, 2024
1 parent a7b0a95 commit 3dc93ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Modelica/StateGraph.mo
Expand Up @@ -1535,9 +1535,9 @@ buttons:
annotation (Placement(transformation(extent={{55,-50},{
65,-40}})));
Real level(start=0,fixed=true) "Tank level in % of max height";
parameter Modelica.Units.SI.Area A=1 "Ground area of tank";
parameter Modelica.Units.SI.Area a=0.2 "Area of drain hole";
parameter Modelica.Units.SI.Height hmax=1 "Max height of tank";
parameter SI.Area A=1 "Ground area of tank";
parameter SI.Area a=0.2 "Area of drain hole";
parameter SI.Height hmax=1 "Max height of tank";
constant Real g=Modelica.Constants.g_n;
equation
der(level) = (inflow1.Fi - outflow1.Fo)/(hmax*A);
Expand Down

0 comments on commit 3dc93ea

Please sign in to comment.