From 75d60173c368cc2a187242c33562aa8360e0c867 Mon Sep 17 00:00:00 2001 From: Jose Daniel Lara Date: Fri, 8 Nov 2024 20:32:57 +0100 Subject: [PATCH] use service name in meta --- src/devices_models/devices/common/add_to_expression.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices_models/devices/common/add_to_expression.jl b/src/devices_models/devices/common/add_to_expression.jl index 9c53a40e0..0d9902e9b 100644 --- a/src/devices_models/devices/common/add_to_expression.jl +++ b/src/devices_models/devices/common/add_to_expression.jl @@ -45,7 +45,7 @@ function add_expressions!( D, PSY.get_name.(devices), time_steps; - meta = PSY.get_name(first(devices)), + meta = get_service_name(model), ) return end