-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change the zone model and create an aggregated class for export, #55
- Loading branch information
1 parent
8a2b4a9
commit b93b81d
Showing
4 changed files
with
214 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
pyDMPC/ModelicaModels/ModelicaModels/ControlledSystems/GeothermalHeatPumpAggregated.mo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
within ModelicaModels.ControlledSystems; | ||
model GeothermalHeatPumpAggregated | ||
"Class necessary to be able to FMU-export the actual model" | ||
GeothermalHeatPumpSystem geothermalHeatPumpSystem | ||
annotation (Placement(transformation(extent={{-30,-20},{36,16}}))); | ||
Modelica.Blocks.Interfaces.RealInput traj "Connector of Real input signal 2" | ||
annotation (Placement(transformation(extent={{-120,-42},{-80,-2}}))); | ||
Modelica.Blocks.Interfaces.RealInput T_set_storage | ||
"Connector of Real input signal 2" | ||
annotation (Placement(transformation(extent={{-120,24},{-80,64}}))); | ||
equation | ||
connect(geothermalHeatPumpSystem.traj, traj) annotation (Line(points={{-30, | ||
-12.8},{-80,-12.8},{-80,-22},{-100,-22}}, color={0,0,127})); | ||
connect(geothermalHeatPumpSystem.T_set_storage, T_set_storage) annotation ( | ||
Line(points={{-18.2667,13.84},{-57.1334,13.84},{-57.1334,44},{-100,44}}, | ||
color={0,0,127})); | ||
annotation ( | ||
Icon(coordinateSystem(preserveAspectRatio=false)), | ||
Diagram(coordinateSystem(preserveAspectRatio=false)), | ||
experiment(StopTime=86400, Interval=600)); | ||
end GeothermalHeatPumpAggregated; |
Oops, something went wrong.