modelGenerator
Generates power from shaft to electrical power connector
Information
This model describes the conversion between mechanical power and electrical power in an ideal synchronous generator. The frequency in the electrical connector is the e.m.f. of generator.
It is possible to consider the generator inertia in the model, by setting the parameter J > 0.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Efficiency | eta | 1.0 | Mechanical to electric power conversion efficiency |
| SI.MomentOfInertia | J | 0 | Moment of inertia |
| Integer | nPoles | 2 | Number of electrical poles |
| Initialization | |||
| SI.Frequency | f_start | 60 | Start value of the electrical frequency |
| Assumptions › Dynamics | |||
| Modelica.Fluid.Types.Dynamics | momentumDynamics | Modelica.Fluid.Types.Dynamics.DynamicFreeInitial | Default formulation of momentum balances |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.ElectricalPowerPort_Flow | port | ||
| Modelica.Mechanics.Rotational.Interfaces.Flange_a | shaft |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Power | Q_mech | Mechanical power | |
| SI.Power | Q_elec | Electrical Power | |
| SI.Power | Q_loss | Inertial power Loss | |
| SI.Torque | tau | Torque at shaft | |
| SI.AngularVelocity | omega_m | Angular velocity of the shaft | |
| SI.AngularVelocity | omega_e | Angular velocity of the e.m.f. rotating frame | |
| SI.Conversions.NonSIunits.AngularVelocity_rpm | shaft_rpm | SI.Conversions.to_rpm(omega_m) | Shaft rotational speed |
| SI.Frequency | f | Electrical frequency |