diff --git a/packages/client/hmi-client/src/components/workflow/ops/optimize-ciemss/tera-optimize-ciemss-drilldown.vue b/packages/client/hmi-client/src/components/workflow/ops/optimize-ciemss/tera-optimize-ciemss-drilldown.vue index 5c08e786a6..1ff6e6f55f 100644 --- a/packages/client/hmi-client/src/components/workflow/ops/optimize-ciemss/tera-optimize-ciemss-drilldown.vue +++ b/packages/client/hmi-client/src/components/workflow/ops/optimize-ciemss/tera-optimize-ciemss-drilldown.vue @@ -741,9 +741,7 @@ const runOptimize = async () => { }; // These are interventions to be considered but not optimized over. - const fixedStaticParameterInterventions: Intervention[] = _.cloneDeep( - inactivePolicyGroups.value.map((ele) => ele.intervention) - ); + const fixedInterventions: Intervention[] = _.cloneDeep(inactivePolicyGroups.value.map((ele) => ele.intervention)); // TODO: https://github.com/DARPA-ASKEM/terarium/issues/3909 // The method should be a list but pyciemss + pyciemss service is not yet ready for this. @@ -761,7 +759,7 @@ const runOptimize = async () => { end: knobs.value.endTime }, optimizeInterventions, - fixedStaticParameterInterventions, + fixedInterventions, qoi, riskBound: props.node.state.constraintGroups[0].threshold, // TODO: https://github.com/DARPA-ASKEM/terarium/issues/3909 boundsInterventions: listBoundsInterventions, diff --git a/packages/client/hmi-client/src/types/Types.ts b/packages/client/hmi-client/src/types/Types.ts index 66ed53ffb3..eb99220b59 100644 --- a/packages/client/hmi-client/src/types/Types.ts +++ b/packages/client/hmi-client/src/types/Types.ts @@ -569,7 +569,7 @@ export interface OptimizeRequestCiemss { modelConfigId: string; timespan: TimeSpan; optimizeInterventions?: OptimizeInterventions; - fixedStaticParameterInterventions?: Intervention[]; + fixedInterventions?: Intervention[]; loggingStepSize?: number; qoi: OptimizeQoi; riskBound: number; diff --git a/packages/server/src/main/java/software/uncharted/terarium/hmiserver/models/simulationservice/OptimizeRequestCiemss.java b/packages/server/src/main/java/software/uncharted/terarium/hmiserver/models/simulationservice/OptimizeRequestCiemss.java index 9e57128e78..3c040a3f96 100644 --- a/packages/server/src/main/java/software/uncharted/terarium/hmiserver/models/simulationservice/OptimizeRequestCiemss.java +++ b/packages/server/src/main/java/software/uncharted/terarium/hmiserver/models/simulationservice/OptimizeRequestCiemss.java @@ -30,8 +30,8 @@ public class OptimizeRequestCiemss implements Serializable { private OptimizeInterventions optimizeInterventions; @TSOptional - @JsonAlias("fixed_static_parameter_interventions") - private List fixedStaticParameterInterventions; + @JsonAlias("fixed_interventions") + private List fixedInterventions; @JsonAlias("logging_step_size") @TSOptional