modelZoneCreateOutputs

Model to create an input file for running the linearized model zoneLinearise in a non-modelica environment environment

Extends from ZoneLinearise (Test for linearisation).

Information

LIDEAS.Examples.zoneExampleCreateOutputs is an extension of LIDEAS.Examples.zoneExample. This model contains a command Create outputs; to generate an input file which can be used to simulate the linearized model in a non-modelica environment. The command points at LIDEAS/LIDEAS/Resources/Scripts/createOutputs.mos, which contains the following simulation command:


experimentSetupOutput(inputs=false,outputs=true,auxiliaries=false,equidistant=true,events=false);

simulateModel("LIDEAS.Examples.ZoneExampleCreateOutputs", startTime=0, stopTime=3.14e7, method="Euler", numberOfIntervals=0, outputInterval=1200, fixedstepsize=10, resultFile="outputs");


The second command simulates the model for a full year and produces a sample for the inputs every 1200 seconds and saves the resulting outputs to outputs.mat. This example uses Euler integration with a fixed step size of 10 seconds. The output interval, step size and integrator can be changed by the used, these settings are not specific to the linearisation approach. The second command simulates the model for a full year and produces a sample for the inputs every 1200 seconds and saves the resulting outputs to outputs.mat. This example uses Euler integration with a fixed step size of 10 seconds. The output interval, step size and integrator can be changed by the used, these settings are not specific to the linearisation approach. The first command defines the settings which ensure that only the outputs of the example model are saved to file at equidistant time interval. This setting is not absolutely required, but it avoids the generation of excessively large input files, which may occur when saving outputs at regular intervals. E.g. saving a sample every 1200 s will lead to a result file containing 26250 time intervals, which is much more than the Dymola default of 500.

Parameters

TypeNameDefaultDescription
IntegernZones (from ZoneLinearise)2Number of zone
IntegernEmb (from ZoneLinearise)1Number of embbed systems

Connectors

TypeNameDefaultDescription
IDEAS.Buildings.Components.Interfaces.WindowBuswinBusIn (from LinearisationInterface)
IDEAS.Buildings.Components.Interfaces.WeaBusweaBus (from LinearisationInterface)
IDEAS.Buildings.Components.Interfaces.WindowBuswinBusOut (from LinearisationInterface)Dummy for getting outputs
IDEAS.Buildings.Components.Interfaces.WeaBusweaBusOut (from LinearisationInterface)

Components

TypeNameDefaultDescription
IDEAS.BoundaryConditions.SimInfoManagersim (from LinearisationInterface)
LIDEAS.Components.LinZonegroFlo (from ZoneLinearise)Ground floor
IDEAS.Buildings.Components.BoundaryWallcommonWall (from ZoneLinearise)Common wall model
IDEAS.Buildings.Components.InternalWallfloor (from ZoneLinearise)TABS Floor between the two zones.
LIDEAS.Components.LinWindowwindow (from ZoneLinearise)Window model
IDEAS.Buildings.Components.SlabOnGroundslabOnGround (from ZoneLinearise)Floor model
IDEAS.Buildings.Components.OuterWallouterWall (from ZoneLinearise)Outer wall model
LIDEAS.Components.LinZonefirFlo (from ZoneLinearise)First floor
IDEAS.Buildings.Components.Shading.ShadingControlshadingControl (from ZoneLinearise)Shading control model
IDEAS.Buildings.Components.BoundaryWallcommonWall1 (from ZoneLinearise)Common wall model
Modelica.Blocks.Sources.ConstantTCom (from ZoneLinearise)Temperature at one side of the common wall
Modelica.Blocks.Sources.ConstantQCom (from ZoneLinearise)Constant heat flow at one side of the common wall 1
IDEAS.Buildings.Components.OuterWallouterWall1 (from ZoneLinearise)Outer wall model
IDEAS.Buildings.Components.OuterWallRoof (from ZoneLinearise)Outer wall model

Revisions

  • April 5, 2018 by Damien Picard:
    First implementation.