modelZoneWithInputsValidationLinear
Model to validate the linearization method by simulating both the original model (with all flags set to linear) and the obtained state space model.
Extends from ZoneWithInputsValidationNonLinear (Model to validate the linearization method by simulating both the original model and the obtained state space model. This model contains all buildings components of IDEAS).
Information
This example verified that the obtained state-space model gives the same results as the original modelica model with all linearise flags set to true. The remaining error is probably due to numerical error.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nZones (from ZoneLinearise) | 2 | Number of zone |
| Integer | nEmb (from ZoneLinearise) | 1 | Number of embbed systems |
| Boolean | validation (from ZoneWithInputsLinearise) | false | Set to true to keep the prescribed heat flows even when sim.linearize is false. This is used for models in LIDEAS.Validation. |
| String | fileName (from ZoneWithInputsValidationNonLinear) | Modelica.Utilities.Files.loadResource("modelica://IDEAS/Resources/LIDEAS/ssm_ZoneWithInputsLinearise.mat") | |
| Integer | nSta (from ZoneWithInputsValidationNonLinear) | Bsize[1] | Number of states |
| Integer | nInp (from ZoneWithInputsValidationNonLinear) | Bsize[2] | Number of inputs |
| Integer | nPreInp (from ZoneWithInputsValidationNonLinear) | size(preInp, 1) | Number of precomputed inputs |
| Integer | nOut (from ZoneWithInputsValidationNonLinear) | Csize[1] | Number of precomputed outputs |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| IDEAS.Buildings.Components.Interfaces.WindowBus | winBusIn (from LinearisationInterface) | ||
| IDEAS.Buildings.Components.Interfaces.WeaBus | weaBus (from LinearisationInterface) | ||
| IDEAS.Buildings.Components.Interfaces.WindowBus | winBusOut (from LinearisationInterface) | Dummy for getting outputs | |
| IDEAS.Buildings.Components.Interfaces.WeaBus | weaBusOut (from LinearisationInterface) | ||
| Components.BaseClasses.Inputs | ctrlInputs (from ZoneWithInputsLinearise) | Control inputs | |
| Components.BaseClasses.Outputs | outputs (from ZoneWithInputsLinearise) | Outputs | |
| Components.BaseClasses.Prescribed | prescribedIn (from ZoneWithInputsLinearise) | Prescribed inputs which do not depend on the model states value (e.g. heat flow from occupancy) | |
| Components.BaseClasses.Prescribed | prescribedOut (from ZoneWithInputsValidationNonLinear) | Prescribed inputs which do not depend on the model states value (e.g. heat flow from occupancy) |
Components
Revisions
-
December 11, 2019, by Filip Jorissen:
Revised error bounds for issue #1089. -
May 15, 2018 by Damien Picard:
First implementation