modelElectricHeating_Twinhouse_Tset

Electric heating Twinhouse| measured temperature as setpoint

Extends from IDEAS.Templates.Interfaces.BaseClasses.HeatingSystem (Partial heating/cooling system).

Parameters

TypeNameDefaultDescription
StringdirPathModelica.Utilities.Files.loadResource("modelica://IDEAS/Resources/measurements/")
Stringfilenameif exp == 1 and bui == 1 then "MeasurementTwinHouseN2Exp1.txt" elseif exp == 2 and bui == 1 then "MeasurementTwinHouseN2Exp2.txt" else "MeasurementTwinHouseO5.txt"
IntegernZones (from PartialSystem)Number of conditioned thermal zones in the building
IntegernLoads (from PartialSystem)0Number of electric loads. If zero, all electric equations disappear.
BooleanisDH (from HeatingSystem)false=true, if the system is connected to a DH grid
Modelica.Units.SI.PowerQ_design (from HeatingSystem)Total design heat load for heating system based on heat losses
IntegernTemSen (from HeatingSystem)nZonesnumber of temperature inputs for the system
Integerexp1Experiment number: 1 or 2
Integerbui1Building number 1 (N2), 2 (O5)
RealCradthermal mass of radiator
RealKemissionheat transfer coefficient
RealCOP1
Realfrad0.3radiative fraction
Advanced
IntegernConvPorts (from HeatingSystem)nZonesNumber of ports in building for convective heating/cooling
IntegernRadPorts (from HeatingSystem)nZonesNumber of ports in building for radiative heating/cooling
IntegernEmbPorts (from HeatingSystem)nZonesNumber of ports in building for embedded systems

Connectors

TypeNameDefaultDescription
Modelica.Electrical.QuasiStatic.Polyphase.Interfaces.PositivePlugplugLoad (from PartialSystem)Electricity connection to the Inhome feeder
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPortCon (from HeatingSystem)Nodes for convective heat gains
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aheatPortRad (from HeatingSystem)Nodes for radiative heat gains
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_bheatPortEmb (from HeatingSystem)Construction nodes for heat gains by embedded layers
Modelica.Blocks.Interfaces.RealInputTSensor (from HeatingSystem)Sensor temperature
Modelica.Blocks.Interfaces.RealInputTSet (from HeatingSystem)Setpoint temperature for the zones
Modelica.Fluid.Interfaces.FluidPort_aport_a (from HeatingSystem)Supply water connection to the DH grid
Modelica.Fluid.Interfaces.FluidPort_bport_b (from HeatingSystem)Return water connection to the DH grid

Components

TypeNameDefaultDescription
IDEAS.BoundaryConditions.SimInfoManagersim (from PartialSystem)Simulation information manager for climate data
IDEAS.Experimental.Electric.BaseClasses.AC.WattsLawPlugwattsLawPlug (from PartialSystem)
Modelica.Units.SI.PowerQHeaSys (from HeatingSystem)sum({max(0, -heatPortCon[i].Q_flow) for i in 1:nConvPorts}) + sum({max(0, -heatPortRad[i].Q_flow) for i in 1:nRadPorts}) + sum({max(0, -heatPortEmb[i].Q_flow) for i in 1:nEmbPorts})Total thermal power use for space heating
Modelica.Units.SI.PowerQCooTotal (from HeatingSystem)sum({max(0, heatPortCon[i].Q_flow) for i in 1:nConvPorts}) + sum({max(0, heatPortRad[i].Q_flow) for i in 1:nRadPorts}) + sum({max(0, heatPortEmb[i].Q_flow) for i in 1:nEmbPorts})Total thermal power use for cooling
Modelica.Units.SI.PowerQhea
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowIDEAL_heating_con
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowIDEAL_heating_rad
Modelica.Blocks.Math.Addadd
Modelica.Blocks.Sources.CombiTimeTablemeasuredInput
Modelica.Blocks.Math.UnitConversions.From_degCTdegC
Modelica.Blocks.Math.GainfradGain
Modelica.Blocks.Math.GainfconGain