KWKK with Parantapa
Created Donnerstag 14 September 2017
Discussion with Parantapa Sawant, 14.9.2017, on the model KWKK_CHP_V48.mo:
CHP model: don't need
parameter SI.Temp_C Lower_Temp_Limit = 75 "Lower temp limit below which CHP goes ON, Temperature corresponding to layer at top of tank selected by user in Tank Model" annotation(
//================== Algorithm Section: CHP Safety Shut Down=============================
---
This dynamics got from step response, takes 1h to reach steady state. After 7-8 Pth_CHP reduces
der(CHP_H_W_PT_M) * 560.794 + CHP_H_W_PT_M = Pth_CHP * CHP_ON_int " T*der(y) + y = K*u";
CHP_H_W_PT_M: thermal power of CHP
Pth_CHP: auxiliary function for thermal power of CHP
Nominal: K=10.1, otherwise use Pth_CHP (less than 10)
For
PartLoad_Ratio = 0.935962276499541 + 0.00389339241401334 * CHP_H_W_T_M_RL - 0.0000518855946923975 * CHP_H_W_T_M_RL ^ 2;
Measure return line and CHP_H_W_PT_M
CHP running 3h, tank gets 40 degC, CHP_H_W_PT_M is unchanged
Pth_CHP = CHP_H_W_PT_M -> get Pth_CHP
---
Use CHP_H_W_MF_M_Set to avoid divide by zero in
CHP_H_W_T_M_FL_K = CHP_H_W_T_M_RL_K + CHP_H_W_PT_M / (CHP_H_W_MF_M_Set * cpw);
—
Winter mode:
CHP, RevHP, heating Coil in the HTES, Load (heat), 2 heat exchangers associated with RevHP, and outdoor coil. Off: from AdCM to the right side
Summer mode:
RevHP and the two associated heat exchangers and the outdoot, and the hot load (for now but later there can be some hot load in the summer).
Minimize: cost of electricity (time dependent) and cost of fuel (constant) -> Parantapa to send.
Load is time series, Parantapa provided in email.
Constraints:
+ Operation mode: CHP vs. HP; AdCM vs.CCM; HP vs. AdCM; no sense to do both CHP and CCM
+ Temperature inside the tanks