Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Modelica/Electrical/Batteries/Examples/CCCVcharging.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ within Modelica.Electrical.Batteries.Examples;
model CCCVcharging
"Charge a battery with constant current - constant voltage characteristic"
extends Modelica.Icons.Example;
parameter Modelica.Units.SI.Current Isc = 1200 "Short-circuit current of cell at OCVmax";
public
parameter Modelica.Electrical.Batteries.ParameterRecords.TransientData.ExampleData cellData(
Qnom=18000,
useLinearSOCDependency=false,
Ri=cellData.OCVmax/1200,
Ri=cellData.OCVmax/Isc,
Idis=0.001)
annotation (Placement(transformation(extent={{20,-20},{40,0}})));
Modelica.Electrical.Batteries.BatteryStacks.CellRCStack battery(
Expand Down