modelSimInfoManagerInputs

Extends from IDEAS.BoundaryConditions.SimInfoManager (Simulation information manager for handling time and climate data required in each for simulation.).

Information

This extension of the SimInfoManager allows to use a custom text input file for the weather data instead of the TMY3 weather data loaded by the SimInfoManager.

The text file should have the following structure. It should start with:

double data(xx,10)

where xx should be replaced by the number of time entries (number of rows).

The following lines should have 10 tab-separated columns containing following values:

time [s], ambiant temperature [K], dew point temperature [K], atmospheric pressure [bar], wind speed [m/s], wind bearing [deg] (between 0 and 360), relative humidity [-] (between 0 and 1), direct normal sun irradiance [W/m2], diffuse horizontal irradiance [W/m2] and weather the measurement is trusted or not (even though nothing is done in modelica with the last column).

Once the custom text file is created, give the correct path to the fileNameLocalWeather parameter.

Parameters

TypeNameDefaultDescription
StringfilNam (from PartialSimInfoManager)Modelica.Utilities.Files.loadResource("modelica://IDEAS/Resources/weatherdata/BEL_VLG_Uccle.064470_TMYx.2007-2021.mos")File name of TMY3 weather file
Modelica.Units.SI.TimetimZon (from PartialSimInfoManager)weaDat.timZonTime zone for which the simulation time t=0 corresponds to midnight, january 1st
Modelica.Units.SI.Angle[5]aziOpts (from PartialSimInfoManager){incS, incW, incN, incE, incS}Inclination options, default south
Modelica.Units.SI.Angle[4]incOpts (from PartialSimInfoManager){IDEAS.Types.Tilt.Wall, IDEAS.Types.Tilt.Floor, IDEAS.Types.Tilt.Ceiling, IDEAS.Types.Tilt.Wall}Azimuth options, default wall
Booleanuse_port_1 (from PartialSimInfoManager)interZonalAirFlowType <> IDEAS.BoundaryConditions.Types.InterZonalAirFlow.NoneWhether port_1 of the propsbus connector should be used
Booleanuse_port_2 (from PartialSimInfoManager)interZonalAirFlowType == IDEAS.BoundaryConditions.Types.InterZonalAirFlow.TwoPortsWhether port_2 of the propsbus connector should be used
Modelica.Units.SI.TemperatureTenv_nom (from PartialSimInfoManager)280Nominal ambient temperature, only used when linearising equations
IntegernumIncAndAziInBus (from PartialSimInfoManager)size(incAndAziInBus, 1)Number of pre-computed azimuth
Modelica.Units.SI.TemperatureTdes (from PartialSimInfoManager)-8 + 273.15design outdoor temperature
Modelica.Units.SI.TemperatureTdesGround (from PartialSimInfoManager)10 + 273.15design ground temperature
RealV50_def (from PartialSimInfoManager)V50 - V50_customCorrected V50 value, default for surfaces without custom assignment.
RealV50 (from PartialSimInfoManager)V_tot*n50V50 value assuming no custom v50 values.
Realq50_def (from PartialSimInfoManager)if A_def < Modelica.Constants.small then q50_av else V50_def/A_def
Realq50_av (from PartialSimInfoManager)if A_tot < Modelica.Constants.small then 0 else V50/A_totaverage, not corrected q50
Modelica.Units.SI.VolumeV_tot (from PartialSimInfoManager)Total conditioned building volume
Modelica.Units.SI.AreaA_tot (from PartialSimInfoManager)Total surface area of OuterWalls and Windows
RealV50_custom (from PartialSimInfoManager)Sum of v50 values for components that have a custom assignment
Modelica.Units.SI.AreaA_def (from PartialSimInfoManager)Total area with default q50, i.e. without custom q50 assignment, or connected to zone with custom n50 assigned
StringfileNameLocalWeatherModelica.Utilities.Files.loadResource("modelica://IDEAS/Resources/weatherdata/CustomWeatherFiles/example.txt")Path to the local weather file
Advanced
Modelica.Units.SI.Anglelat (from PartialSimInfoManager)weaDat.latLatitude of the location
Modelica.Units.SI.Anglelon (from PartialSimInfoManager)weaDat.lonLongitude of the location
Incidence angles
Modelica.Units.SI.AngleincS (from PartialSimInfoManager)IDEAS.Types.Azimuth.SSouth inclination
Modelica.Units.SI.AngleincW (from PartialSimInfoManager)incS + Modelica.Constants.pi/2West inclination
Modelica.Units.SI.AngleincN (from PartialSimInfoManager)incS + Modelica.Constants.piNorth inclination
Modelica.Units.SI.AngleincE (from PartialSimInfoManager)incS + 3*Modelica.Constants.pi/2East inclination
Modelica.Units.SI.Angle[:,:]incAndAziInBus (from PartialSimInfoManager){{IDEAS.Types.Tilt.Ceiling, 0}, {IDEAS.Types.Tilt.Wall, incS}, {IDEAS.Types.Tilt.Wall, incW}, {IDEAS.Types.Tilt.Wall, incN}, {IDEAS.Types.Tilt.Wall, incE}, {IDEAS.Types.Tilt.Floor, 0}}Combination of inclination and azimuth which are pre-computed and added to solBus.
Conservation of energy
BooleancomputeConservationOfEnergy (from PartialSimInfoManager)falseAdd equations for verifying conservation of energy
BooleanstrictConservationOfEnergy (from PartialSimInfoManager)falseThis adds an assert statement to make sure that energy is conserved
BooleanopenSystemConservationOfEnergy (from PartialSimInfoManager)falseCompute conservation of energy for open system
Modelica.Units.SI.EnergyEmax (from PartialSimInfoManager)1Error bound for violation of conservation of energy
Linearisation
BooleanlineariseDymola (from PartialSimInfoManager)falseLinearises building model equations for Dymola linearisation approach
BooleanlineariseJModelica (from PartialSimInfoManager)falseLinearises building model equations for optimisations in JModelica
BooleancreateOutputs (from PartialSimInfoManager)falseCreates output connections when linearising windows
BooleanoutputAngles (from PartialSimInfoManager)not lineariseDymolaOutput angles in weaBus. Set to false when linearising
IntegernWindow (from PartialSimInfoManager)1Number of windows in the to be linearised model
IntegernLayWin (from PartialSimInfoManager)3Number of window layers in the to be linearised model; should be maximum of all windows
Booleanlinearise (from PartialSimInfoManager)lineariseDymola or lineariseJModelicaLinearises building model equations
Linearisation › Convection
BooleanlinIntCon (from PartialSimInfoManager)false= true, if interior convective heat transfer should be linearised
BooleanlinExtCon (from PartialSimInfoManager)false= true, if exterior convective heat transfer should be linearised (uses average wind speed)
Linearisation › Radiation
BooleanlinIntRad (from PartialSimInfoManager)true= true, if interior radiative heat transfer should be linearised
BooleanlinExtRad (from PartialSimInfoManager)false= true, if exterior radiative heat transfer for walls should be linearised
BooleanlinExtRadWin (from PartialSimInfoManager)true= true, if exterior radiative heat transfer for windows should be linearised
Advanced › CO2
RealppmCO2 (from PartialSimInfoManager)400Default CO2 concentration in [ppm] when using air medium containing CO2
Interzonal airflow
IDEAS.BoundaryConditions.Types.InterZonalAirFlowinterZonalAirFlowType (from PartialSimInfoManager)IDEAS.BoundaryConditions.Types.InterZonalAirFlow.NoneType of interzonal air flow model
Booleanunify_n50 (from PartialSimInfoManager)falseif true, zone n50 values are merged and then redistributed across al zones even if interZonalAirFlowType==None
Realn50 (from PartialSimInfoManager)3n50 value of zones
Wind
Booleanuse_sim_Cs (from PartialSimInfoManager)trueif checked, the default Cs of each surface in the building is sim.Cs
IDEAS.BoundaryConditions.Types.LocalTerrainlocTer (from PartialSimInfoManager)IDEAS.BoundaryConditions.Types.LocalTerrain.UnshieldedSelection of local terrain
Reala_custom (from PartialSimInfoManager)0.14Custom velocity profile exponent
RealA0_custom (from PartialSimInfoManager)1.0Custom local terrain coefficient
Reala (from PartialSimInfoManager)if locTer == IDEAS.BoundaryConditions.Types.LocalTerrain.Unshielded then 0.14 elseif locTer == IDEAS.BoundaryConditions.Types.LocalTerrain.Suburban then 0.22 elseif locTer == IDEAS.BoundaryConditions.Types.LocalTerrain.Urban then 0.33 else a_customVelocity profile exponent
Modelica.Units.SI.Lengthdelta (from PartialSimInfoManager)if locTer == IDEAS.BoundaryConditions.Types.LocalTerrain.Unshielded then 270 elseif locTer == IDEAS.BoundaryConditions.Types.LocalTerrain.Suburban then 370 elseif locTer == IDEAS.BoundaryConditions.Types.LocalTerrain.Urban then 460 else 0Wind boundary layer thickness
RealA0 (from PartialSimInfoManager)if locTer == IDEAS.BoundaryConditions.Types.LocalTerrain.Custom then A0_custom else (270/Hwind)^0.14*(Hwind/delta)^aLocal terrain coefficient
Modelica.Units.SI.LengthH (from PartialSimInfoManager)10Building or roof height
Modelica.Units.SI.LengthHwind (from PartialSimInfoManager)10Height above ground of meteorological wind speed measurement
Modelica.Units.SI.LengthHPres (from PartialSimInfoManager)1Height above ground of meteorological atmospheric pressure measurement
RealCs_coeff (from PartialSimInfoManager)(A0*A0)*((1/Hwind)^(2*a))Multiplication factor for wind speed modifier Cs
RealCs (from PartialSimInfoManager)Cs_coeff*(H^(2*a))Wind speed modifier

Connectors

TypeNameDefaultDescription
IDEAS.Buildings.Components.Interfaces.WeaBusweaBus (from PartialSimInfoManager)
Modelica.Thermal.HeatTransfer.Interfaces.HeatPort_aQgai (from PartialSimInfoManager)Thermal gains in model
IDEAS.Buildings.Components.BaseClasses.ConservationOfEnergy.EnergyPortE (from PartialSimInfoManager)Model internal energy
IDEAS.Buildings.Components.Interfaces.WindowBuswinBusOut (from PartialSimInfoManager)Bus for windows in case of linearisation
IDEAS.BoundaryConditions.WeatherData.BusweaDatBus (from PartialSimInfoManager)Weather data bus connectable to weaBus connector from Buildings Library
Buildings.Components.Interfaces.VolumePortvolumePort (from PartialSimInfoManager)Port for summing volumes of all zones
Buildings.Components.Interfaces.AreaPortareaPort (from PartialSimInfoManager)Port for summing surface areas of all surfaces

Components

TypeNameDefaultDescription
Modelica.Units.SI.TemperatureTe (from PartialSimInfoManager)ambient outdoor temperature for determination of sky radiation exchange
Modelica.Units.SI.TemperatureTsky (from PartialSimInfoManager)effective overall sky temperature
Modelica.Units.SI.TemperatureTeAv (from PartialSimInfoManager)running average of ambient outdoor temperature of the last 5 days, not yet implemented
Modelica.Units.SI.TemperatureTground (from PartialSimInfoManager)ground temperature
Modelica.Units.SI.VelocityVa (from PartialSimInfoManager)wind speed
Modelica.Units.SI.AngleVdir (from PartialSimInfoManager)wind direction
RealrelHum (from PartialSimInfoManager)Relative humidity
Modelica.Units.SI.TemperatureTDewPoi (from PartialSimInfoManager)Dewpoint
Modelica.Units.SI.EnergyEtot (from PartialSimInfoManager)Total internal energy
Modelica.Units.SI.EnergyQint (from PartialSimInfoManager)Total energy from boundary
IDEAS.Utilities.Psychrometrics.X_pTphiXiEnv (from PartialSimInfoManager)
IDEAS.BoundaryConditions.SolarIrradiation.ShadedRadSolradSol (from PartialSimInfoManager)Model for computing solar irradiation and properties of predefined set of tilted surfaces
Modelica.Blocks.Sources.RealExpressionTskyPow4Expr (from PartialSimInfoManager)Power 4 of sky temperature
Modelica.Blocks.Sources.RealExpressionTePow4Expr (from PartialSimInfoManager)Power 4 of ambient temperature
Modelica.Blocks.Sources.RealExpressionTdesExpr (from PartialSimInfoManager)Expression for design temperature
Modelica.Thermal.HeatTransfer.Sources.FixedTemperaturefixedTemperature (from PartialSimInfoManager)Fixed temperature
Modelica.Blocks.Sources.RealExpressionCEnv (from PartialSimInfoManager)Concentration of trace substance in surroundings
Modelica.Blocks.Routing.RealPassThroughsolTim (from PartialSimInfoManager)Solar time
Modelica.Blocks.Routing.RealPassThroughalt (from PartialSimInfoManager)Altitude
Modelica.Blocks.Tables.CombiTable1DslocalWeatherData reader
Modelica.Blocks.Sources.RealExpressionrealExpressionTime