Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added block in PartialSimInfoManager that calculates the absolute humidity #119

Merged
merged 1 commit into from
Oct 10, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions IDEAS/PartialSimInfoManager.mo
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,12 @@ public

BoundaryConditions.WeatherData.ReaderTMY3 weaDat(filNam=filNamClim, lat=lat, lon=lon, timZon=timZonSta) if useTmy3Reader
annotation (Placement(transformation(extent={{-40,40},{-20,60}})));
Utilities.Psychrometrics.X_pTphi XiEnv(use_p_in=false)
annotation (Placement(transformation(extent={{-30,-96},{-10,-76}})));
Modelica.Blocks.Sources.RealExpression phiEnv(y=relHum)
annotation (Placement(transformation(extent={{-70,-102},{-50,-82}})));
Modelica.Blocks.Sources.RealExpression TEnv(y=Te)
annotation (Placement(transformation(extent={{-70,-86},{-50,-66}})));
equation

connect(timMan.timCal, tabQCon.u) annotation (Line(
Expand All @@ -166,6 +172,14 @@ equation
points={{-60,10},{-50,10},{-50,42},{-40,42}},
color={0,0,127},
smooth=Smooth.None));
connect(TEnv.y,XiEnv. T) annotation (Line(
points={{-49,-76},{-32,-76},{-32,-86}},
color={0,0,127},
smooth=Smooth.None));
connect(phiEnv.y,XiEnv. phi) annotation (Line(
points={{-49,-92},{-32,-92}},
color={0,0,127},
smooth=Smooth.None));
annotation (
defaultComponentName="sim",
defaultComponentPrefixes="inner",
Expand Down