From 6e713bce2ecbdcf81c2bd1039e66b4b62204e4d8 Mon Sep 17 00:00:00 2001 From: BrechtBa Date: Tue, 22 Aug 2017 09:44:09 +0200 Subject: [PATCH] updated manifest.in --- MANIFEST.in | 5 ++-- examples/example.mo | 65 --------------------------------------------- 2 files changed, 2 insertions(+), 68 deletions(-) delete mode 100644 examples/example.mo diff --git a/MANIFEST.in b/MANIFEST.in index 0a651a3..e3b9d6e 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,5 +1,4 @@ include README.rst include LICENSE -include examples/example.mo -include examples/example.ipynb -include examples/cplex_example.ipynb \ No newline at end of file +include examples/simple_space_heating_mpc.ipynb +include examples/cplex_api.ipynb \ No newline at end of file diff --git a/examples/example.mo b/examples/example.mo deleted file mode 100644 index 4592e53..0000000 --- a/examples/example.mo +++ /dev/null @@ -1,65 +0,0 @@ -within ; -model example - Modelica.Thermal.HeatTransfer.Components.HeatCapacitor C_em(C=1) annotation ( - Placement(transformation( - extent={{-10,-10},{10,10}}, - rotation=180, - origin={-30,-26}))); - Modelica.Thermal.HeatTransfer.Components.HeatCapacitor C_in(C=1) annotation ( - Placement(transformation( - extent={{-10,-10},{10,10}}, - rotation=180, - origin={10,-26}))); - Modelica.Thermal.HeatTransfer.Components.ThermalConductor UA_em_in(G=1) - annotation (Placement(transformation(extent={{-20,-10},{0,10}}))); - Modelica.Thermal.HeatTransfer.Components.ThermalConductor UA_in_amb(G=1) - annotation (Placement(transformation(extent={{20,-10},{40,10}}))); - Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperature - prescribedTemperature_amb annotation (Placement(transformation( - extent={{-10,-10},{10,10}}, - rotation=180, - origin={70,0}))); - Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow - prescribedHeatFlow_hp annotation (Placement(transformation( - extent={{-10,-10},{10,10}}, - rotation=270, - origin={-58,30}))); - Modelica.Blocks.Interfaces.RealInput Q_flow_hp - annotation (Placement(transformation(extent={{-120,30},{-80,70}}))); - Modelica.Blocks.Interfaces.RealInput T_amb annotation (Placement( - transformation( - extent={{-20,-20},{20,20}}, - rotation=270, - origin={50,100}))); - Modelica.Blocks.Interfaces.RealInput Q_flow_sol annotation (Placement( - transformation( - extent={{-20,-20},{20,20}}, - rotation=270, - origin={10,100}))); - Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow - prescribedHeatFlow_sol annotation (Placement(transformation( - extent={{-10,-10},{10,10}}, - rotation=270, - origin={10,30}))); -equation - connect(UA_in_amb.port_b, prescribedTemperature_amb.port) - annotation (Line(points={{40,0},{60,0}}, color={191,0,0})); - connect(UA_in_amb.port_a, C_in.port) - annotation (Line(points={{20,0},{10,0},{10,-16}}, color={191,0,0})); - connect(UA_em_in.port_b, C_in.port) - annotation (Line(points={{0,0},{10,0},{10,-16}}, color={191,0,0})); - connect(UA_em_in.port_a, C_em.port) - annotation (Line(points={{-20,0},{-30,0},{-30,-16}}, color={191,0,0})); - connect(prescribedHeatFlow_hp.port, C_em.port) annotation (Line(points={{-58, - 20},{-58,0},{-30,0},{-30,-16}}, color={191,0,0})); - connect(prescribedHeatFlow_sol.port, C_in.port) - annotation (Line(points={{10,20},{10,-16}}, color={191,0,0})); - connect(Q_flow_hp, prescribedHeatFlow_hp.Q_flow) - annotation (Line(points={{-100,50},{-58,50},{-58,40}}, color={0,0,127})); - connect(Q_flow_sol, prescribedHeatFlow_sol.Q_flow) annotation (Line(points={{ - 10,100},{10,100},{10,40},{10,40}}, color={0,0,127})); - connect(T_amb, prescribedTemperature_amb.T) annotation (Line(points={{50,100}, - {50,100},{50,46},{88,46},{88,0},{82,0}}, color={0,0,127})); - annotation (uses(Modelica(version="3.2.1")), Diagram(coordinateSystem( - preserveAspectRatio=false, extent={{-100,-100},{100,100}}))); -end example;