Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2 and 3 windings transformer representation in substation or zone diagram #10

Closed
geofjamg opened this issue Oct 7, 2019 · 0 comments
Closed
Assignees

Comments

@geofjamg
Copy link
Member

geofjamg commented Oct 7, 2019

  • Do you want to request a feature or report a bug?
    Feature

  • What is the current behavior?
    2 and 3 windings representation has been correctly designed for voltage level diagram. With substation diagram (and soon zone diagram), representation looks like a little bit strange as the windings symbole is duplicated at each end of the transformer. Consequently coloration is also very confusing.

Here is an example with a 3 windings transformer but same apply for 2 windings:

image

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
    Here is the xiidm sample:
<?xml version="1.0" encoding="UTF-8"?>
<iidm:network xmlns:iidm="http://www.itesla_project.eu/schema/iidm/1_0" id="three-windings-transformer" caseDate="2018-03-05T13:30:30.486+01:00" forecastDistance="0" sourceFormat="test">
    <iidm:substation id="SUBSTATION" country="FR">
        <iidm:voltageLevel id="VL_132" nominalV="132.0" lowVoltageLimit="118.8" highVoltageLimit="145.2" topologyKind="BUS_BREAKER">
            <iidm:busBreakerTopology>
                <iidm:bus id="BUS_132" v="133.584" angle="-9.62"/>
                <iidm:bus id="BUS_133" v="133.584" angle="-9.62"/>
            </iidm:busBreakerTopology>
            <iidm:load id="LOAD_132" loadType="UNDEFINED" p0="7.6" q0="1.6" bus="BUS_132" connectableBus="BUS_132"/>
            <iidm:load id="LOAD_133" loadType="UNDEFINED" p0="7.6" q0="1.6" bus="BUS_133" connectableBus="BUS_133"/>
        </iidm:voltageLevel>
        <iidm:voltageLevel id="VL_33" nominalV="33.0" lowVoltageLimit="29.7" highVoltageLimit="36.3" topologyKind="BUS_BREAKER">
            <iidm:busBreakerTopology>
                <iidm:bus id="BUS_33" v="34.881" angle="-15.24"/>
                <iidm:bus id="BUS_333" v="34.881" angle="-15.24"/>
            </iidm:busBreakerTopology>
            <iidm:load id="LOAD_33" loadType="UNDEFINED" p0="11.2" q0="7.5" bus="BUS_33" connectableBus="BUS_33" p="11.2" q="7.5"/>
            <iidm:load id="LOAD_333" loadType="UNDEFINED" p0="11.2" q0="7.5" bus="BUS_333" connectableBus="BUS_333" p="11.2" q="7.5"/>
        </iidm:voltageLevel>
        <iidm:voltageLevel id="VL_11" nominalV="11.0" lowVoltageLimit="9.9" highVoltageLimit="12.1" topologyKind="BUS_BREAKER">
            <iidm:busBreakerTopology>
                <iidm:bus id="BUS_11" v="11.781" angle="-15.24"/>
                <iidm:bus id="BUS_111" v="11.781" angle="-15.24"/>
            </iidm:busBreakerTopology>
            <iidm:load id="LOAD_11" loadType="UNDEFINED" p0="0.0" q0="-10.6" bus="BUS_11" connectableBus="BUS_11" p="0.0" q="-10.6"/>
            <iidm:shunt id="SELF_11" bPerSection="-0.15" maximumSectionCount="1" currentSectionCount="0" bus="BUS_111" connectableBus="BUS_111" q="-0">
              <property name="qMax" value="-150"/>
            </iidm:shunt>
        </iidm:voltageLevel>
        <iidm:threeWindingsTransformer id="3WT" r1="17.424" x1="1.7424" g1="0.00573921028466483" b1="5.73921028466483E-4" ratedU1="132.0" r2="1.089" x2="0.1089" ratedU2="33.0" r3="0.121" x3="0.0121" ratedU3="11.0" bus1="BUS_132" connectableBus1="BUS_132" voltageLevelId1="VL_132" bus2="BUS_33" connectableBus2="BUS_33" voltageLevelId2="VL_33" bus3="BUS_11" connectableBus3="BUS_11" voltageLevelId3="VL_11">
            <iidm:ratioTapChanger2 lowTapPosition="0" tapPosition="2" loadTapChangingCapabilities="true" regulating="true" targetV="33.0">
                <iidm:terminalRef id="LOAD_33"/>
                <iidm:step r="0.9801" x="0.09801" g="0.08264462809917356" b="0.008264462809917356" rho="0.9"/>
                <iidm:step r="1.089" x="0.1089" g="0.09182736455463728" b="0.009182736455463728" rho="1.0"/>
                <iidm:step r="1.1979" x="0.11979" g="0.10101010101010101" b="0.0101010101010101" rho="1.1"/>
            </iidm:ratioTapChanger2>
            <iidm:ratioTapChanger3 lowTapPosition="0" tapPosition="0" loadTapChangingCapabilities="true" regulating="true" targetV="11.0">
                <iidm:terminalRef id="LOAD_11"/>
                <iidm:step r="0.1089" x="0.01089" g="0.8264462809917356" b="0.08264462809917356" rho="0.9"/>
                <iidm:step r="0.121" x="0.0121" g="0.8264462809917356" b="0.08264462809917356" rho="1.0"/>
                <iidm:step r="0.1331" x="0.01331" g="0.9090909090909092" b="0.09090909090909093" rho="1.1"/>
            </iidm:ratioTapChanger3>
            <iidm:currentLimits1 permanentLimit="1000.0">
                <iidm:temporaryLimit name="20'" acceptableDuration="1200" value="1200.0"/>
                <iidm:temporaryLimit name="10'" acceptableDuration="600" value="1400.0"/>
            </iidm:currentLimits1>
            <iidm:currentLimits2 permanentLimit="100.0">
                <iidm:temporaryLimit name="20'" acceptableDuration="1200" value="120.0"/>
                <iidm:temporaryLimit name="10'" acceptableDuration="600" value="140.0"/>
            </iidm:currentLimits2>
            <iidm:currentLimits3 permanentLimit="10.0">
                <iidm:temporaryLimit name="20'" acceptableDuration="1200" value="12.0"/>
                <iidm:temporaryLimit name="10'" acceptableDuration="600" value="14.0"/>
            </iidm:currentLimits3>
        </iidm:threeWindingsTransformer>
    </iidm:substation>
</iidm:network>
  • What is the expected behavior?
    Here is a picture of what should be rendered in substation/zone mode for a 3 windings transformer:

image

Ideally, we should be able to precise in the component library if a component is a single terminal or multiple terminal and automatically in case of multi-terminal component adapt rendering like in the previous picture. We must not hard coded a specific behaviour for transformers, but be generic for multi terminal components.

  • What is the motivation / use case for changing the behavior?

  • Please tell us about your environment:

    • PowSyBl Version: ...
    • OS Version: ...
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, spectrum, etc)

(if a question doesn't apply, you can delete it)

@geofjamg geofjamg transferred this issue from powsybl/powsybl-incubator Oct 14, 2019
@geofjamg geofjamg closed this as completed Dec 2, 2019
flo-dup added a commit that referenced this issue Jun 12, 2023
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants