Table of Contents

Class PowerFuse

Namespace
NominalSystems.Classes
Assembly
NominalSystems.Classes.dll

A power fuse is able to flick a switch, disabling a circuit when a current exceeds a threshold.

public class PowerFuse : PowerComponent, IPowerAttachment
Inheritance
PowerFuse
Implements
Inherited Members

Constructors

PowerFuse()

Default constructor

public PowerFuse()

Fields

CurrentThreshold

[A] The threshold of the fuse

[EditableVariable("A", 0, false, "", "")]
public double CurrentThreshold

Field Value

double

ResetDuration

[s] The time taken to reset the fuse after it is blown. If 0.0 then the fuse cannot be reset.

[EditableVariable("s", 0, false, "", "")]
public double ResetDuration

Field Value

double

ThresholdDuration

[s] The time required for the current to exceed the threshold to blow the fuse.

[EditableVariable("s", 0, false, "", "")]
public double ThresholdDuration

Field Value

double

Properties

IsFuseBlown

[-] A flag if the fuse was blown

[EditableVariable("-", true, "", "")]
public bool IsFuseBlown { get; }

Property Value

bool

Methods

OnUpdate(double, double)

Called when the 'Component' should update

protected override void OnUpdate(double time, double step)

Parameters

time double

current time (seconds)

step double

the time step (seconds)

Reset()

Resets the blown fuse back to its original state, closing off the circuit.

public void Reset()