function IdealTransformerTapEstimation
extends Icons.Function;
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.VoltageModulePu Uc20Pu "Voltage set-point on side 2 in pu (base U2Nom)";
output Integer Tap0 "Estimated tap";
end IdealTransformerTapEstimation;