diff --git a/src/operation/operation_model_interface.jl b/src/operation/operation_model_interface.jl index e833b5e52..1250bcc1a 100644 --- a/src/operation/operation_model_interface.jl +++ b/src/operation/operation_model_interface.jl @@ -113,7 +113,8 @@ function solve_impl!(model::OperationModel) if !ispath(model_output_dir) mkdir(model_output_dir) end - model_export_path = joinpath(model_output_dir, "exported_$(model_name)_$(ts).json") + tss = replace!("$(ts)", ":" => "_") + model_export_path = joinpath(model_output_dir, "exported_$(model_name)_$(tss).json") serialize_optimization_model(container, model_export_path) end