The modular electrical system shows a parsing warning when trying to use units with a simvar. The simvar still does work correctly though.
Repro steps:
Have a generator like the one below in your electrical system. Compile the project and look at either the compilation console or the Logs tab in the Electrical system debug tool. There’ll be a line saying “Couldn’t parse a valid unit from string: “rpm””.
This should be a correct way to read the engine rpm, atleast according to the docs (although there’s a typo in the docs “#GovernedRPM:[data.simvar.(GENERAL ENG RPM:1, rpm)]”. Notice the extra dot after simvar)
generator.1 = Name:EngineGenerator1#Stype:AC#Vrms:115#PowerRating:45#PowerFactor:0.95#GovernedRPM:[data.simvar(GENERAL ENG RPM:1, rpm)]#TensionDropRPM:10000
This topic has been automatically closed after 60 days of inactivity since it was marked as fixed.
If there is important new information about this same report, you can use the “Request reopen” button below to ask the moderation team to review it again.
For other issues or broader discussion, please open a new topic in the appropriate category.