@@ -384,6 +384,50 @@ def __init__(self, model: Model):
384
384
ErrMessage = "assume default number of years in construction (1)" ,
385
385
ToolTipText = "Number of years spent in construction (assumes whole years, no fractions)"
386
386
)
387
+ self .cp_fluid = self .ParameterDict [self .cp_fluid .Name ] = floatParameter (
388
+ "Working Fluid Heat Capacity" ,
389
+ UnitType = Units .HEAT_CAPACITY ,
390
+ PreferredUnits = HeatCapacityUnit .JPERKGPERK ,
391
+ CurrentUnits = HeatCapacityUnit .JPERKGPERK ,
392
+ DefaultValue = 4200.0 ,
393
+ Min = 0.0 ,
394
+ Max = 10_000.0 ,
395
+ ErrMessage = "assume default working fluid heat capacity (4200)" ,
396
+ ToolTipText = "Heat capacity of the working fluid"
397
+ )
398
+ self .rho_fluid = self .ParameterDict [self .rho_fluid .Name ] = floatParameter (
399
+ "Working Fluid Density" ,
400
+ UnitType = Units .DENSITY ,
401
+ PreferredUnits = DensityUnit .KGPERMETERS3 ,
402
+ CurrentUnits = DensityUnit .KGPERMETERS3 ,
403
+ DefaultValue = 1000.0 ,
404
+ Min = 0.0 ,
405
+ Max = 10_000.0 ,
406
+ ErrMessage = "assume default working fluid density (1000)" ,
407
+ ToolTipText = "Density of the working fluid"
408
+ )
409
+ self .k_fluid = self .ParameterDict [self .k_fluid .Name ] = floatParameter (
410
+ "Working Fluid Thermal Conductivity" ,
411
+ UnitType = Units .THERMAL_CONDUCTIVITY ,
412
+ PreferredUnits = ThermalConductivityUnit .WPERMPERK ,
413
+ CurrentUnits = ThermalConductivityUnit .WPERMPERK ,
414
+ DefaultValue = 0.68 ,
415
+ Min = 0.0 ,
416
+ Max = 10.0 ,
417
+ ErrMessage = "assume default working fluid thermal conductivity (0.68)" ,
418
+ ToolTipText = "Thermal conductivity of the working fluid"
419
+ )
420
+ self .mu_fluid = self .ParameterDict [self .mu_fluid .Name ] = floatParameter (
421
+ "Working Fluid Dynamic Viscosity" ,
422
+ UnitType = Units .DYNAMIC_VISCOSITY ,
423
+ PreferredUnits = Dynamic_ViscosityUnit .PASCALSEC ,
424
+ CurrentUnits = Dynamic_ViscosityUnit .PASCALSEC ,
425
+ DefaultValue = 600 * 10 ** - 6 ,
426
+ Min = 0.0 ,
427
+ Max = 1 ,
428
+ ErrMessage = "assume default fluid dynamic density (600*10**-6)" ,
429
+ ToolTipText = "Dynamic viscosity of the working fluid"
430
+ )
387
431
388
432
# local variable initialization
389
433
self .setinjectionpressurefixed = False
0 commit comments