.Dynawo.Electrical.Transformers.BaseClasses_INIT.TapEstimation

Function that estimates the initial tap of a transformer

Interface

/*
* Copyright (c) 2023, RTE (http://www.rte-france.com)
* See AUTHORS.txt
* All rights reserved.
* 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
*
* This file is part of Dynawo, an hybrid C++/Modelica open source suite
* of simulation tools for power systems.
*/
function TapEstimation
  extends Icons.Function;
  input Types.ComplexImpedancePu ZPu " Transformer impedance in pu (base U2Nom, SnRef)";
  input Types.PerUnit rTfoMinPu "Minimum transformation ratio in pu: U2/U1 in no load conditions";
  input Types.PerUnit rTfoMaxPu "Maximum transformation ratio in pu: U2/U1 in no load conditions";
  input Integer NbTap "Number of taps";
  input Types.ComplexVoltagePu u10Pu "Start value of complex voltage at terminal 1 in pu (base UNom)";
  input Types.ComplexCurrentPu i10Pu "Start value of complex current at terminal 1 in pu (base UNom, SnRef) (receptor convention)";
  input Types.VoltageModulePu Uc20Pu "Voltage set-point on side 2 in pu (base U2Nom)";
  output Integer Tap0 "Estimated tap";
end TapEstimation;

Generated at 2025-12-20T19:13:54Z by OpenModelicaOpenModelica 1.26.0 using GenerateDoc.mos