modelIdealBattery
Ideal linear DC source
Extends from DriveControl.Interfaces.PartialBattery (Partial DC source).
Information
The IdealBattery consists of a constant voltage source and an inner resistance.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Charge | Q0 (from PartialBattery) | 0 | Initial charge |
| DataRecords.Data | data (from PartialBattery) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | bat_p (from PartialBattery) | Positive DC input | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | bat_n (from PartialBattery) | Negative DC input |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Basic.Ground | ground (from PartialBattery) | ||
| Modelica.Electrical.Analog.Sensors.CurrentSensor | currentSensor (from PartialBattery) | ||
| Modelica.Blocks.Continuous.Integrator | charge (from PartialBattery) | ||
| Modelica.Units.SI.Charge | Q (from PartialBattery) | charge.y | Charge |
| Modelica.Electrical.Analog.Basic.Resistor | ri | ||
| Modelica.Electrical.Analog.Sources.ConstantVoltage | constantVoltage |