Incorrect simvar example in electrical system supplier

Version: 1.2.4

Frequency: Consistently

Severity: High

Bug description:
In the modular electrical system documentation, supplier section at Modular Electrical System Information under the AC part there’s an example shown as “supplier.1 = Name:GenSupply #SType:AC #Vrms:115 #Phase:Three #PowerRating:45 #PowerFactor:0.95 #GovernedRPM:[simvar.(GENERAL ENG RPM:1, rpm)]”

The GovernedRPM part is wrong and will show errors in the logs like “[Error] Couldn’t find constant type from string: “simvar.(GENERAL ENG RPM:1, rpm)””

The GovernedRPM should actually be, for example, “#GovernedRPM:[data.simvar(GENERAL ENG RPM:1, rpm)]” (note the data.simvar part) which doesn’t give an error and seems to produce electricity correctly

1 Like