.Dynawo.Electrical.Constants.stateToReal

Converts a component connection state from enumeration to real

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 stateToReal
  extends Icons.Function;
  input state stateAsEnumeration;
  output Real stateAsReal;
end stateToReal;

Generated at 2026-01-29T19:15:51Z by OpenModelicaOpenModelica 1.26.1 using GenerateDoc.mos