From d510eb01183a69ddfb1f8df3398de531ccc8c140 Mon Sep 17 00:00:00 2001 From: Bertrand Rix Date: Fri, 29 Nov 2024 11:31:02 +0100 Subject: [PATCH] Per unit and nominal apparent power should not be const to be usable. Signed-off-by: Bertrand Rix --- src/Network.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Network.jl b/src/Network.jl index 1d1df22..1d35cc7 100644 --- a/src/Network.jl +++ b/src/Network.jl @@ -3,8 +3,8 @@ module Network using CxxWrap using DataFrames - const nominal_apparent_power = 100.0 - const per_unit = false + nominal_apparent_power::Float64 = 100.0 + per_unit::Bool = false mutable struct NetworkHandle handle::Powsybl.JavaHandle