mango changes MVAR units to MVA
-
I am trying to use units MVAR and MVARh but mango keeps changing them to MV*A and MVAh.
Can MVAR and MVARh be added to the list of units?
-
Hi Craig
you can add a suffix to your points if the unit you need is not in the list.
-
Hi Craigs,
This thread has some information about another option, to modify the UnitUtil class to have them as units or labels: https://forum.infiniteautomation.com/topic/3202/converting-units
-
@craig, In the Mango code we have implemented Aliases for VAR and VA which correspond to Volts x Amps. Since VAR is a measure of a 'type' of Power my understanding is that it is still basically Volts x Amps. If you want to convert your point's values to another Unit they need to be based on derived units that are supported by our library so VAR = V*A. If you don't need to convert this value to another type of unit for display then as @CraigWeb says, just use a suffix.
-
@terrypacker While VAR is effectively Volt X Amps. It should always be displayed as VAR. As that is its unit. Reactive power is different to active power and needs to be measured when doing power factor correction. All 3 phase systems have both active and reactive power and both need to be measured and displayed. It probably is worth looking into adding it as a unit.
-
@CraigWeb I agree and actually right after I made my previous post took a deeper look into what is going on with the internals of our Units library. I think something isn't working quite right with our Unit Aliases so I opened this issue:
https://github.com/infiniteautomation/ma-core-public/issues/1331