Ejemplo n.º 1
0
## \file Control.py
# \author Thulasi Jegatheesan
# \brief Controls the flow of the program
import sys

import InputParameters
import OutputFormat

filename = sys.argv[1]
A_C, C_W, h_C, T_init, t_final, L, T_C, t_step, rho_W, D, A_tol, R_tol, T_W, E_W = InputParameters.get_input(
    filename)
InputParameters.input_constraints(A_C, C_W, h_C, T_init, t_final, L, T_C,
                                  t_step, rho_W, D, T_W, E_W)
OutputFormat.write_output(T_W, E_W)
Ejemplo n.º 2
0
## \file Control.py
# \author Naveen Ganesh Muralidharan
# \brief Controls the flow of the program
import sys

import Calculations
import InputParameters
import OutputFormat

filename = sys.argv[1]
r_t, K_d, K_p, t_step, t_sim = InputParameters.get_input(filename)
InputParameters.input_constraints(r_t, K_d, K_p, t_step, t_sim)
y_t = Calculations.func_y_t(K_d, K_p, r_t, t_sim, t_step)
OutputFormat.write_output(y_t)