All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.powsybl.ucte.network.UctePhaseRegulation Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (c) 2016, All partners of the iTesla project (http://www.itesla-project.eu/consortium)
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 * SPDX-License-Identifier: MPL-2.0
 */
package com.powsybl.ucte.network;

/**
 *
 * @author Geoffroy Jamgotchian {@literal }
 */
public class UctePhaseRegulation {

    private double du;
    private Integer n; // FIXME: should not be null
    private Integer np; // FIXME: should not be null
    private double u;

    public UctePhaseRegulation(double du, Integer n, Integer np, double u) {
        this.du = du;
        this.n = n;
        this.np = np;
        this.u = u;
    }

    /**
     * Gets δu (%).
     * @return δu (%)
     */
    public double getDu() {
        return du;
    }

    /**
     * Sets δu (%).
     * @param du δu (%)
     */
    public void setDu(double du) {
        this.du = du;
    }

    /**
     * Gets number of taps.
     * 

Counted the following way: it is the difference between the intermediate * position (neutral) and the positive or negative ultimate position (e.g. a * transformer with total 27 taps (+13,neutral,-13) is given as n = 13 in the * UCTE format). * @return number of taps */ public Integer getN() { return n; } /** * Sets number of taps. *

Counted the following way: it is the difference between the intermediate * position (neutral) and the positive or negative ultimate position (e.g. a * transformer with total 27 taps (+13,neutral,-13) is given as n = 13 in the * UCTE format). * @param n number of taps */ public void setN(Integer n) { this.n = n; } /** * Gets tap position. * @return tap position */ public Integer getNp() { return np; } /** * Sets tap position. * @param np tap position */ public void setNp(Integer np) { this.np = np; } /** * Gets on load tap changer voltage target for node 2 (V2 or UL) (kV) (optional). * @return on load tap changer voltage target for node 2 */ public double getU() { return u; } /** * Sets on load tap changer voltage target for node 2 (V2 or UL) (kV) (optional). * @param u on load tap changer voltage target for node 2 */ public void setU(double u) { this.u = u; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy