Main.Accert.update_account_value#
- Accert.update_account_value(alg_py, alg_name, variables)[source]#
Calls the specified algorithm with the given variables. Only called for fusion model now. For PWR, ABR,LFR, HEATPIPE the alg_py is in the form of a string that will be evaluated in the Algorithm table stored in database. For Fusion, the algorithm is in the form of a python file name that stored in Algorithm folder. For example, in Fusion model, the alg_py value is ‘FusionFunc’ then it should look for FusionFunc.py in the Algorithm folder.
- Parameters:
alg_py (str) – Algorithm in python.
alg_name (str) – Algorithm name.my
variables (dict) – Variables to be passed to the algorithm.
- Returns:
result – Algorithm result.
- Return type:
float