modelBES_Controller

BES controller with different control types according to ControlTypes

Extends from TransiEnt.Basics.Icons.Controller (Icon for controller).

Information

Logic of this controller

  • Self-sufficiency (simple): charge battery if generated surplus power is available, otherwise discharge until it is empty.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.PowerBat_PowerLimitMaximum battery power
External Control
ControlTypecontrolTypeTransiEnt.Basics.Types.ControlType.InternalType of control (see enumeration)

Connectors

TypeNameDefaultDescription
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_smartMeterActive power consumption measured by Smart Meter
Modelica.Blocks.Interfaces.BooleanInputSignal_P_externalIf Control_Signal = true, then the Output P_bat_out externally controlled over P_bat
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerInP_BESExternally set battery power
TransiEnt.Basics.Interfaces.Electrical.ElectricPowerOutP_BES_outSet-point battery power output
Modelica.Blocks.Interfaces.BooleanInputSignal_Priority_ChargeIf Control_Signal = true, then the Output P_bat_out externally controlled over P_bat
Modelica.Blocks.Interfaces.BooleanInputSignal_Priority_DischargeIf Control_Signal = true, then the Output P_bat_out externally controlled over P_bat
Modelica.Blocks.Interfaces.BooleanOutputSignal_Priority_Charge_internal
Modelica.Blocks.Interfaces.BooleanOutputSignal_Priority_Discharge_internal

Components

TypeNameDefaultDescription
Modelica.Blocks.Continuous.LimPIDPI
Modelica.Blocks.Sources.RealExpressioncontrolTarget
Modelica.Blocks.Math.Gaingain
Modelica.Blocks.Continuous.FirstOrderbreakAlgebraicLoop
Modelica.Blocks.Logical.SwitchSwitch_External_P
Modelica.Blocks.Sources.RealExpressionpriority_power_
Modelica.Blocks.Logical.SwitchSwitch_Priority
Modelica.Blocks.Sources.BooleanExpressionhas_priority_
Modelica.Blocks.Nonlinear.VariableLimitervariableLimiter
Modelica.Blocks.Logical.SwitchSwitch_Limit_P
Modelica.Blocks.Sources.RealExpressionUpperBatteryPowerLimitSwitch
Modelica.Blocks.Sources.RealExpressionUpperBatteryPowerLimit
Modelica.Blocks.Sources.RealExpressionLowerBatteryPowerLimit
Booleanhas_priority
Modelica.Units.SI.Powerpriority_power