Bug in HVACTemplate:Zone:FanCoil
A bug report.
When we select VariableFanVariableFlow or ASHRAE90VariableFan for Capacity Control Method of HVACTemplate:Zone:FanCoil, we get the following severe error and the simulation terminates.
** Severe ** GetFanCoilUnits: ZoneHVAC:FourPipeFanCoil: SPACE1-1 FAN COIL
** ~~~ ** ...the fan type of the object : SPACE1-1 SUPPLY FAN does not match with the capacity control method selected : VARIABLEFANVARIABLEFLOW please see I/O reference
** ~~~ ** ...for VariableFanVariableFlow or VariableFanConstantFlow a Fan:SystemModel should have Continuous speed control.
It is because Speed Control Method of Fan:SystemModel is set to Discrete in the expidf file. Speed Control Method should be Continuous.
You can easily reproduce the bug using ExampleFile HVACTemplate-5ZoneFanCoil.idf (V22-2-0).
We can edit Speed Control Method in the expidf file manually, but I hope Continuous is automatically selected when we run idf files with HVACTemplate:Zone:FanCoil.



You might want to also describe this here so that the EnergyPlus development team can try to fix it.
Posted issue as https://github.com/NREL/EnergyPlus/issues/9995