CCSI-Toolset / FOQUS

FOQUS: Framework for Optimization and Quantification of Uncertainty and Surrogates
https://foqus.readthedocs.io
Other
46 stars 54 forks source link

New FOQUS Cloud Deployment #1224

Closed boverhof closed 4 months ago

boverhof commented 5 months ago

Description

Using the newly released SimSinter and TurbineLite, deploy FOQUS Cloud in Oregon.

New Image

FOQUS Code branch

boverhof commented 5 months ago

Problem 1

boverhof commented 5 months ago

Problem 2: AspenSinterConsumerConsole hangs

boverhof commented 5 months ago

Example/test BFB OUU Fails to load in AspenV14

Simulation Messages

Type HXFluid: default value is not a member of the valid set, clipping value.
Generating Aspen Properties aprpdf file.
Screenshot 2024-06-03 at 6 00 02 PM Screenshot 2024-06-03 at 5 59 44 PM Screenshot 2024-06-03 at 5 57 22 PM
dhumbird commented 4 months ago

This file has embedded properties so it should be fine. No need to convert. I was able to open the repo version of this file in ACM V14 without errors.

lbianchi-lbl commented 4 months ago

Related to #1227, but for a different BFB (bubbling fluidized bed) model/simulation.

boverhof commented 4 months ago

OUU_Remote_Turbine_BFB

successfully ran the foqus/examples/test_files/OUU_Remote_Turbine_BFB/BFB_OUU_06_09_2020.foqus with defaults

Output

{'solTime': 110.33983993530273, 
'input': {'graph': {}, 'BFB': {'BFBadsB.Dt': 11.897, 'BFBadsB.dx': 0.0127, 'BFBadsB.Lb': 2.085, 'BFBadsM.Dt': 15, 'BFBadsM.dx': 0.06695, 'BFBadsM.Lb': 1.972, 'BFBadsT.Dt': 15, 'BFBadsT.dx': 0.062397, 'BFBadsT.Lb': 2.203, 'BFBRGN.Dt': 9.041, 'BFBRGN.Lb': 8.886, 'BFBRGNTop.Dt': 9.195, 'BFBRGNTop.Lb': 7.1926, 'GHXfg.A_exch': 16358, 'Kd': 100, 'BFBadsB.Cr': 1, 'BFBadsM.Cr': 1, 'BFBadsT.Cr': 1, 'BFBRGN.Cr': 1, 'BFBRGNTop.Cr': 1, 'dp': 0.00015, 'GHXfg.GasIn.P': 1.01325, 'GHXfg.GasIn.T': 54, 'fg_flow': 100377}}, 
'output': {'graph': {'error': 0}, 'BFB': {'Cost_coe': 138.82425739884636, 'Cost_coe_obj': 138.82425739884636, 'Cost_ads': 34832226.20639935, 'Cost_aux_power': 23385.503427224277, 'Cost_op_cooling_water': 12562503.664959071, 'Cost_op_cooling_water_flow': 2923843.78423705, 'Cost_op_fixed': 54527170.10507197, 'Cost_op_var': 172522109.68218017, 'Cost_rgn': 16323489.589995965, 'Cost_shx': 39020395.75661277, 'Cost_steam_power': 178992.8400843956, 'Cost_steam_tot': 695217.1196293447, 'Cost_toc': 2111605826.971341, 'Cost_toc_sorb': 84011457.36869758, 'removalCO2': 0.8996801078092209, 'SHX.CWFR': 26470.78926712216, 'SHX.LeanIn.T': 146.3976529163801, 'SHX.RichIn.T': 84.06464787557616, 'SHX.SteamFR': 37652.63814666193, 'removalCO2_slack': 0, 'slugab_slack': 0, 'slugam_slack': 0, 'slugat_slack': 0, 'slugrb_slack': 0, 'slugrt_slack': 0, 'BFBRGN.GasIn.F': 1357.089941010187, 'F_solids': 12702449.02608155, 'GHXfg.HXIn.F': 135603.6604814625, 'SHX.LeanOut.T': 71.01606811426312, 'SHX.RichOut.T': 170, 'status': 0}}, 
'graphError': 0, 
'nodeError': {'BFB': 0}, 
'nodeSettings': {'BFB': {'Visible': False, 'Initialize Model': False, 'Reset': False, 'Reset on Fail': True, 'Retry': False, 'Allow Simulation Warnings': True, 'Max consumer reuse': 90, 'Maximum Wait Time (s)': 1440, 'Maximum Run Time (s)': 840, 'Min Status Check Interval': 4, 'Max Status Check Interval': 5, 'Override Turbine Configuration': 'NULL', 'RunMode': 'Steady State', 'printlevel': 0, 'homotopy': 0, 'Snapshot': 'NULL', 'TimeSeries': [0], 'Script': 'NULL', 'MinStepSize': 0.001, 'TimeUnits': 'Hours'}}, 
'turbineMessages': {'BFB': '["event=setup,consumer=c687381f-5d6a-4715-8f2b-1158c779f30e", "Setup: Reusing Sinter ACM", "event=running,consumer=c687381f-5d6a-4715-8f2b-1158c779f30e", "sinter inputs sent, running simulation", "Real Run was complete and successful.", "event=sucess,consumer=c687381f-5d6a-4715-8f2b-1158c779f30e"]'}, 'input_vectorvals': {'BFB': {}}, 'output_vectorvals': {'BFB': {}}, 'session': 'bbabbfda-8aea-4e0a-ab65-b8ce1f333407', 'Id': 'e3626a36-d7a3-4c0e-b8d0-f2899a72871e', 'resub': 0}

Screenshot 2024-06-27 at 12 32 38 PM