Name |
Description |
DCDCConverter
|
Test model DC to DC converter |
This model illustrates the use of a model that converts between DC voltages.
model DCDCConverter
extends Modelica.Icons.Example;
Buildings.Electrical.DC.Loads.Conductor resistor(
mode=Buildings.Electrical.Types.Load.FixedZ_steady_state,
P_nominal=-2000,
V_nominal=60) ;
Buildings.Electrical.DC.Sources.ConstantVoltage sou(V=120) ;
Buildings.Electrical.DC.Conversion.DCDCConverter conDCDC(VHigh=120, VLow=60,
eta=0.9) ;
Buildings.Electrical.DC.Loads.Conductor conductor(mode=Buildings.Electrical.Types.Load.VariableZ_P_input,
V_nominal=60,
P_nominal=10e3) ;
Modelica.Blocks.Sources.Ramp varLoad_P(
duration=0.5,
startTime=0.3,
offset=-1000,
height=10000);
Buildings.Electrical.DC.Sensors.GeneralizedSensor sen ;
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;