LBL logo

Buildings.Electrical.DC.Conversion.Examples

Package with example models

Information

This package contains examples for the use of models that can be found in Buildings.Electrical.DC.Conversion.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Buildings.Electrical.DC.Conversion.Examples.DCDCConverter DCDCConverter Test model DC to DC converter

Buildings.Electrical.DC.Conversion.Examples.DCDCConverter Buildings.Electrical.DC.Conversion.Examples.DCDCConverter

Test model DC to DC converter

Buildings.Electrical.DC.Conversion.Examples.DCDCConverter

Information

This model illustrates the use of a model that converts between DC voltages.

Extends from Modelica.Icons.Example (Icon for runnable examples).

Modelica definition

model DCDCConverter "Test model DC to DC converter" extends Modelica.Icons.Example; Buildings.Electrical.DC.Loads.Conductor resistor( mode=Buildings.Electrical.Types.Load.FixedZ_steady_state, P_nominal=-2000, V_nominal=60) "Resistive load"; Buildings.Electrical.DC.Sources.ConstantVoltage sou(V=120) "Voltage source"; Buildings.Electrical.DC.Conversion.DCDCConverter conDCDC(VHigh=120, VLow=60, eta=0.9) "DC/DC transformer"; Buildings.Electrical.DC.Loads.Conductor conductor(mode=Buildings.Electrical.Types.Load.VariableZ_P_input, V_nominal=60, P_nominal=10e3) "Variable resistive load"; Modelica.Blocks.Sources.Ramp varLoad_P( duration=0.5, startTime=0.3, offset=-1000, height=10000); Buildings.Electrical.DC.Sensors.GeneralizedSensor sen "Power sensor"; equation connect(varLoad_P.y, conductor.Pow); connect(conDCDC.terminal_p, resistor.terminal); connect(conDCDC.terminal_p, conductor.terminal); connect(sou.terminal, sen.terminal_n); connect(sen.terminal_p, conDCDC.terminal_n); end DCDCConverter;

Automatically generated Mon Jul 13 14:23:35 2015.