Snapshot WIP: Probe calibration path, faer LU backend, and BPHX phase-change duty.
Some checks failed
CI / check (push) Has been cancelled
Some checks failed
CI / check (push) Has been cancelled
Checkpoint incomplete calibration work (cond SDT green, evap SST failing) plus related solver/UI changes so the next pass can fix and extend safely. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
222
.entropyk/modules/calibration.ekmod
Normal file
222
.entropyk/modules/calibration.ekmod
Normal file
@@ -0,0 +1,222 @@
|
||||
{
|
||||
"components": [
|
||||
{
|
||||
"circuit": 0,
|
||||
"flipH": false,
|
||||
"flipV": false,
|
||||
"name": "comp",
|
||||
"params": {
|
||||
"displacement_m3": 0.000065,
|
||||
"emergent_pressure": true,
|
||||
"isentropic_efficiency": 0.7,
|
||||
"speed_hz": 50,
|
||||
"superheat_k": 5,
|
||||
"t_cond_k": 318.15,
|
||||
"t_evap_k": 278.15,
|
||||
"volumetric_efficiency": 0.92
|
||||
},
|
||||
"rotation": 0,
|
||||
"type": "IsentropicCompressor"
|
||||
},
|
||||
{
|
||||
"circuit": 0,
|
||||
"flipH": false,
|
||||
"flipV": false,
|
||||
"name": "cond",
|
||||
"params": {
|
||||
"__fixed_calib_sdt_c": false,
|
||||
"__fixed_z_dp": true,
|
||||
"__fixed_z_ua": true,
|
||||
"calib_sdt_c": 40,
|
||||
"channel_spacing_mm": 1.5,
|
||||
"chevron_angle_deg": 60,
|
||||
"correlation": "Longo2004",
|
||||
"corrugation_pitch_mm": 3,
|
||||
"dp_correlation": "SimplifiedChannel",
|
||||
"emergent_pressure": true,
|
||||
"manufacturer": "",
|
||||
"model": "",
|
||||
"n_plates": 40,
|
||||
"plate_length_m": 0.4,
|
||||
"plate_thickness_mm": 0.6,
|
||||
"plate_width_m": 0.12,
|
||||
"refrigerant": "R134a",
|
||||
"secondary_fluid": "Water",
|
||||
"target_subcooling_k": 5,
|
||||
"ua": 2500,
|
||||
"z_dp": 1,
|
||||
"z_ua": 1
|
||||
},
|
||||
"rotation": 0,
|
||||
"type": "BphxCondenser"
|
||||
},
|
||||
{
|
||||
"circuit": 0,
|
||||
"flipH": false,
|
||||
"flipV": false,
|
||||
"name": "exv",
|
||||
"params": {
|
||||
"__fixed_opening": true,
|
||||
"emergent_pressure": true,
|
||||
"opening": 1,
|
||||
"t_evap_k": 278.15
|
||||
},
|
||||
"rotation": 0,
|
||||
"type": "IsenthalpicExpansionValve"
|
||||
},
|
||||
{
|
||||
"circuit": 0,
|
||||
"flipH": false,
|
||||
"flipV": false,
|
||||
"name": "evap",
|
||||
"params": {
|
||||
"__fixed_calib_sst_c": false,
|
||||
"__fixed_z_dp": true,
|
||||
"__fixed_z_ua": false,
|
||||
"calib_sst_c": 5,
|
||||
"channel_spacing_mm": 1.5,
|
||||
"chevron_angle_deg": 60,
|
||||
"correlation": "Longo2004",
|
||||
"corrugation_pitch_mm": 3,
|
||||
"dp_correlation": "SimplifiedChannel",
|
||||
"emergent_pressure": true,
|
||||
"manufacturer": "",
|
||||
"model": "",
|
||||
"n_plates": 40,
|
||||
"plate_length_m": 0.4,
|
||||
"plate_thickness_mm": 0.6,
|
||||
"plate_width_m": 0.12,
|
||||
"refrigerant": "R134a",
|
||||
"secondary_fluid": "Water",
|
||||
"target_superheat_k": 5,
|
||||
"ua": 2000,
|
||||
"z_dp": 1,
|
||||
"z_ua": 1
|
||||
},
|
||||
"rotation": 0,
|
||||
"type": "BphxEvaporator"
|
||||
},
|
||||
{
|
||||
"circuit": 0,
|
||||
"flipH": false,
|
||||
"flipV": false,
|
||||
"name": "cond_water_in",
|
||||
"params": {
|
||||
"__fixed_m_flow_kg_s": true,
|
||||
"__fixed_p_set_bar": false,
|
||||
"__fixed_t_set_c": true,
|
||||
"fluid": "Water",
|
||||
"m_flow_kg_s": 0.4,
|
||||
"p_set_bar": 2,
|
||||
"t_set_c": 30
|
||||
},
|
||||
"rotation": 0,
|
||||
"type": "BrineSource"
|
||||
},
|
||||
{
|
||||
"circuit": 0,
|
||||
"flipH": false,
|
||||
"flipV": false,
|
||||
"name": "cond_water_out",
|
||||
"params": {
|
||||
"__fixed_p_back_bar": true,
|
||||
"__fixed_t_set_c": false,
|
||||
"fluid": "Water",
|
||||
"p_back_bar": 2,
|
||||
"t_set_c": 7
|
||||
},
|
||||
"rotation": 0,
|
||||
"type": "BrineSink"
|
||||
},
|
||||
{
|
||||
"circuit": 0,
|
||||
"flipH": false,
|
||||
"flipV": false,
|
||||
"name": "evap_water_in",
|
||||
"params": {
|
||||
"__fixed_m_flow_kg_s": true,
|
||||
"__fixed_p_set_bar": false,
|
||||
"__fixed_t_set_c": true,
|
||||
"fluid": "Water",
|
||||
"m_flow_kg_s": 0.5,
|
||||
"p_set_bar": 3,
|
||||
"t_set_c": 12
|
||||
},
|
||||
"rotation": 0,
|
||||
"type": "BrineSource"
|
||||
},
|
||||
{
|
||||
"circuit": 0,
|
||||
"flipH": false,
|
||||
"flipV": false,
|
||||
"name": "evap_water_out",
|
||||
"params": {
|
||||
"__fixed_p_back_bar": true,
|
||||
"__fixed_t_set_c": false,
|
||||
"fluid": "Water",
|
||||
"p_back_bar": 3,
|
||||
"t_set_c": 7
|
||||
},
|
||||
"rotation": 0,
|
||||
"type": "BrineSink"
|
||||
},
|
||||
{
|
||||
"circuit": 0,
|
||||
"flipH": false,
|
||||
"flipV": false,
|
||||
"name": "SST probe",
|
||||
"params": {
|
||||
"__fixed_target": true,
|
||||
"fluid": "R134a",
|
||||
"measure": "SST",
|
||||
"target": 5.9
|
||||
},
|
||||
"rotation": 0,
|
||||
"type": "Probe"
|
||||
}
|
||||
],
|
||||
"connections": [],
|
||||
"edges": [
|
||||
{
|
||||
"from": "comp:outlet",
|
||||
"to": "cond:inlet"
|
||||
},
|
||||
{
|
||||
"from": "cond:outlet",
|
||||
"to": "exv:inlet"
|
||||
},
|
||||
{
|
||||
"from": "exv:outlet",
|
||||
"to": "evap:inlet"
|
||||
},
|
||||
{
|
||||
"from": "cond_water_in:outlet",
|
||||
"to": "cond:secondary_inlet"
|
||||
},
|
||||
{
|
||||
"from": "cond:secondary_outlet",
|
||||
"to": "cond_water_out:inlet"
|
||||
},
|
||||
{
|
||||
"from": "evap_water_in:outlet",
|
||||
"to": "evap:secondary_inlet"
|
||||
},
|
||||
{
|
||||
"from": "evap:secondary_outlet",
|
||||
"to": "evap_water_out:inlet"
|
||||
},
|
||||
{
|
||||
"from": "evap:outlet",
|
||||
"to": "SST probe:inlet"
|
||||
},
|
||||
{
|
||||
"from": "SST probe:outlet",
|
||||
"to": "comp:inlet"
|
||||
}
|
||||
],
|
||||
"instances": [],
|
||||
"params": {},
|
||||
"ports": {
|
||||
"inlet": "comp:inlet"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user