Class TransmitterPowerModel
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[Nominal] This model creates a mapping between the transmitter producing some transmission with a decibel level and the power system. This enables the drawing of power.
public class TransmitterPowerModel : ComponentModel<Transmitter>
- Inheritance
-
ComponentModel<Transmitter>TransmitterPowerModel
- Inherited Members
-
ComponentModel<Transmitter>.Target
Constructors
TransmitterPowerModel()
Construct a motor power model
public TransmitterPowerModel()
Fields
BaseResistance
[V] Specifies the base level resistance for the power model that will occur when not transmitting.
public double BaseResistance
Field Value
Properties
Power
[W] The total power being drawn from the transmitter
[EditableVariable("W", true, "", "")]
public double Power { get; }
Property Value
Methods
OnBegin(double)
Called when 'ComponentModel' starts
protected override void OnBegin(double time)
Parameters
time
doublecurrent time (seconds)
OnUpdate(double, double)
Called each timestep during a event tick
protected override void OnUpdate(double time, double step)