InterPSS-Project / ipss-plugin

InterPSS plugin projects
8 stars 11 forks source link

SwitchedShunt ODM Mapper needs updated #8

Closed jinjingfarm closed 10 years ago

jinjingfarm commented 10 years ago

The following a sample SwitchedShunt ODM record:

        <aclfBus id="Bus2648" areaNumber="37" zoneNumber="99" number="2648" offLine="false" name="HANSMSV     ">
            <ownerList id="17">
                <ownership unit="PU" value="1.0"/>
            </ownerList>
            <baseVoltage unit="KV" value="18.0"/>
            <voltage unit="PU" value="0.99411"/>
            <angle unit="DEG" value="1.7714"/>
            <genData code="NoneGen"/>
            <loadData/>
            <shuntYData/>
            <switchedShunt mode="Continuous" offLine="false">
                <desiredVoltageRange unit="PU" max="1.06" min="1.06"/>
                <bInit unit="MVAR" value="-92.98"/>
                <block steps="1">
                    <incrementB unit="MVAR" value="-100.0"/>
                </block>
                <block steps="1">
                    <incrementB unit="MVAR" value="200.0"/>
                </block>
                <remoteControlledBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="BusIDRefXmlType" idRef="Bus649"/>
            </switchedShunt>
        </aclfBus>
jinjingfarm commented 10 years ago

This issue has been fixed, commit https://github.com/InterPSS-Project/ipss-plugin/commit/954ef57c26d48fecd3f34dcc786132d7ae5f5dfd

id: Bus2648 number: 2648 name: HANSMSV
desc: null status: true (visited: false, weight: (0.0, 0.0), intFlag: 0, sortNumber: 0) (extensionObject: null) area(number): 37(37) zone(number): 99(99) baseVoltage: 18000.0 genCode: Capacitor loadCode: NonLoad Desired voltageMag: 1.0 Desired voltageAng: 0.0 voltageMag: 0.99411 voltageAng: 0.030916762369827554 gen: 0.0000 + j0.0000 load: 0.0000 + j0.0000 shuntY: 0.0000 + j0.0000 distFactor: 0.0000 vLimit: ( 0.0, 0.0 ) LF Results : voltage : 0.99411 pu 17893.9800 v angle : 1.7714 deg capacitor : 0.0000 pu 0.0000 Kvar load : 0.0000 + j0.0000 pu 0.0000 + j0.0000 kva Remote Q Bus Adjust Info:

PV Bus Limit Info: id: Bus2648 number: 0 name: desc: status: true VSpec : 18000.0000 v 1.0000 pu VActual : 17893.9800 v 0.99411 pu Q(kVar) : max: 0.0000 actaul: 0.0000 min: 0.0000 kVar Q(pu) : max: 0.0000 actaul: 0.0000 min: 0.0000 pu

Vc Bus : Bus2648 Control Type: BusVoltage Remote Bus : Bus649 dQ/dVre : 1.0000 VSpec : 1.0000 pu VActual : 254400.0000 v 1.0600 pu Q(kVar) : max: 0.0000 actaul: 0.0000 min: 0.0000 kVar Q(pu) : max: 0.0000 actaul: 0.0000 min: 0.0000 pu

SwitchedShunt: (controlMode: Continuous, bInit: -0.9298, desiredVoltageRange: ( 1.06, 1.06 ), QBank: [ (steps: 1, unitQMvar: -1.0) (steps: 1, unitQMvar: 2.0) ] )