modelSwitch

Diagram of Switch

Extends from BuildSysPro.BaseClasses.HeatTransfer.Interfaces.Element1D (Partial heat transfer element with two HeatPort connectors that does not store energy).

Information

All-or-nothing switch-controller to cut the connection between inputs and outputs

Hypothesis and equations

Operation:

  • If the switch is closed, there is equality between thermal ports temperatures (default if OnOff = 1)
  • If the switch is opened, no flow circulates between the two ports (default if OnOff <> 1)

It is possible to change the value at which the switch is closed by changing the value of valeur_On parameter.

Bibliography

none

Instructions for use

none

Known limits / Use precautions

none

Validations

Validated model - Amy Lindsay 03/2013

--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Amy LINDSAY, EDF (2013)
--------------------------------------------------------------

Parameters

TypeNameDefaultDescription
Booleanvaleur_OntrueOnOff value for which the flow exists

Connectors

TypeNameDefaultDescription
HeatPort_aport_a (from Element1D)
HeatPort_bport_b (from Element1D)
Modelica.Blocks.Interfaces.BooleanInputOnOff

Components

TypeNameDefaultDescription
Modelica.Units.SI.HeatFlowRateQ_flow (from Element1D)Heat flow rate from port_a -> port_b
Modelica.Units.SI.TemperatureDifferencedT (from Element1D)port_a.T - port_b.T

Revisions

Amy Lindsay 04/2014 : modification du IntegerInput en BooleanInput, pour plus de logique