diff --git a/shared/lib_pv_io_manager.cpp b/shared/lib_pv_io_manager.cpp index e5bbe54be..367950d00 100644 --- a/shared/lib_pv_io_manager.cpp +++ b/shared/lib_pv_io_manager.cpp @@ -678,7 +678,12 @@ PVSystem_IO::PVSystem_IO(compute_module* cm, std::string cmName, Simulation_IO* } numberOfInverters = cm->as_integer("inverter_count"); - numberOfInvertersClipping = cm->as_integer("num_inverter_subhourly_clipping"); + if (cm->is_assigned("num_inverter_subhourly_clipping")) { + numberOfInvertersClipping = cm->as_integer("num_inverter_subhourly_clipping"); + } + else { + numberOfInvertersClipping = 1; + } ratedACOutput = Inverter->ratedACOutput * numberOfInverters; acDerate = 1 - cm->as_double("acwiring_loss") / 100;