Provides the function for reading inputs, the function for calculating derived values, and the function for checking the physical constraints and software constraints on the input.
More...
|
| | python.InputParameters.get_input (filename) |
| | Reads input from a file with the given file name.
|
| | python.InputParameters.derived_values (D, L) |
| | Calculates values that can be immediately derived from the inputs.
|
| | python.InputParameters.input_constraints (A_C, C_W, h_C, T_init, t_final, L, T_C, t_step, rho_W, D, E_W) |
| | Verifies that input values satisfy the physical constraints and software constraints.
|
Provides the function for reading inputs, the function for calculating derived values, and the function for checking the physical constraints and software constraints on the input.
- Author
- Thulasi Jegatheesan
- Note
- Generated by Drasil v0.1-alpha
◆ derived_values()
| python.InputParameters.derived_values |
( |
| D, |
|
|
| L ) |
Calculates values that can be immediately derived from the inputs.
- Parameters
-
| D | diameter of tank (m) |
| L | length of tank (m) |
- Returns
- volume of the cylindrical tank (m^3)
◆ get_input()
| python.InputParameters.get_input |
( |
| filename | ) |
|
Reads input from a file with the given file name.
- Parameters
-
| filename | name of the input file |
- Returns
- heating coil surface area (m^2)
-
specific heat capacity of water (J/(kg degreeC))
-
convective heat transfer coefficient between coil and water (W/(m^2 degreeC))
-
initial temperature (degreeC)
-
final time (s)
-
length of tank (m)
-
temperature of the heating coil (degreeC)
-
time step for simulation (s)
-
density of water (kg/m^3)
-
diameter of tank (m)
-
absolute tolerance
-
relative tolerance
-
change in heat energy in the water (J)
◆ input_constraints()
| python.InputParameters.input_constraints |
( |
| A_C, |
|
|
| C_W, |
|
|
| h_C, |
|
|
| T_init, |
|
|
| t_final, |
|
|
| L, |
|
|
| T_C, |
|
|
| t_step, |
|
|
| rho_W, |
|
|
| D, |
|
|
| E_W ) |
Verifies that input values satisfy the physical constraints and software constraints.
- Parameters
-
| A_C | heating coil surface area (m^2) |
| C_W | specific heat capacity of water (J/(kg degreeC)) |
| h_C | convective heat transfer coefficient between coil and water (W/(m^2 degreeC)) |
| T_init | initial temperature (degreeC) |
| t_final | final time (s) |
| L | length of tank (m) |
| T_C | temperature of the heating coil (degreeC) |
| t_step | time step for simulation (s) |
| rho_W | density of water (kg/m^3) |
| D | diameter of tank (m) |
| E_W | change in heat energy in the water (J) |