Class in Zendir.Classes
| Inherits from PowerNodeModel
Declaration
class ComputerPowerModel;
Description
Creates a power model for a Computer, which will draw power from
the electrical circuit based on the operational sate of the Computer.
Properties
Declared | Description |
---|
ComputerLoad | A scalar value representing the load on the computer. Used when the computer is running. |
NominalOperationalVoltage | The nominal operational voltage of the Computer. |
Power | The Power Consumption of the Computer based on its current state. |
Inherited | Description |
---|
CurrentIn | The Input Current of the node. |
CurrentOut | The Output Current of the node. |
IsEnabled | Is true if the object is currently enabled. |
IsOpenCircuit | A flag if the power node is currently open and no power willbe transferred to the next component. |
Name | The display name or tag of this object. |
Out_PowerNodeMsg | The power node message that stores all the properties ofthe node. |
Parent | The currently attached parent object. |
Resistance | The Resistance of the node. |
SelfSolve | A Flag to determine if the Power Node Model should update Output parameters itself if not connected to a PowerBus |
VoltageIn | The Input Voltage of the node. |
VoltageNode | The Node Voltage being used. |
VoltageOut | The Output Voltage of the node. |
Methods
Declared | Description |
---|
UpdatePowerPerState | Updates the power consumption for a specific state of the computer. |
Inherited | Description |
---|
Clear | Clear the Power Node Model if the circuit is open |
Destroy | Removes the current object from the simulation. |
FindParentWithID | Returns an attached parent that satisfies the specified ID. |
FindParentWithType | Returns an attached parent that satisfies the specified type. |
FindRootWithID | Returns a root object that satisfies the specified ID. |
FindRootWithType | Returns a root object that satisfies the specified type. |