CCSI-Toolset / FOQUS

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

FOQUS CLOUD: NGCC EEMPA Integrated Model #1003

Closed boverhof closed 1 month ago

boverhof commented 2 years ago

Description

Graph Error is occurring in the FOQUS Worker, although the AspenPlus job succeeds, the job is marked as error.

FOQUS Log File

2022-01-19 03:03:43,393 - INFO - foqus.foqus_lib.service.flowsheet - Working Directory: C:\ProgramData\foqus_service
2022-01-19 03:03:50,908 - DEBUG - foqus.foqus_lib.service.flowsheet - FOQUSAWSConfig._get: FOQUS-Job-Queue-Url = https://sqs.us-east-1.amazonaws.com/387057575688/FOQUS-Gateway-FOQUSJobSubmitQueue-G8M3IVDEJM3N
2022-01-19 03:03:51,033 - DEBUG - foqus.foqus_lib.service.flowsheet - FOQUSAWSConfig._get: FOQUS-DynamoDB-Table = FOQUS_Resources
2022-01-19 03:03:51,033 - DEBUG - foqus.foqus_lib.service.flowsheet - main loop flowsheet service
2022-01-19 03:03:51,033 - DEBUG - foqus.foqus_lib.service.flowsheet - FOQUSAWSConfig._get: FOQUS-Update-Topic-Arn = arn:aws:sns:us-east-1:387057575688:FOQUS-Gateway-FOQUSUpdateTopic-19K4KKZTEJNJL
2022-01-19 03:03:51,033 - DEBUG - foqus.foqus_lib.service.flowsheet - FOQUSAWSConfig._get: FOQUS-Message-Topic-Arn = arn:aws:sns:us-east-1:387057575688:FOQUS-Gateway-FOQUSLogTopic-1LYZT15O5RKT8
2022-01-19 03:03:51,033 - DEBUG - foqus.foqus_lib.service.flowsheet - Consumer Register
2022-01-19 03:03:51,033 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_register
2022-01-19 03:03:51,033 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'consumer', 'instanceid': 'i-0bbbda1e03ca674eb', 'event': 'running', 'rc': 0, 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9'}
2022-01-19 03:03:51,033 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: consumer.running
2022-01-19 03:03:51,033 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'consumer.running'}, 'username': {'DataType': 'String', 'StringValue': 'unknown'}}
2022-01-19 03:03:51,315 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_register: {'resource': 'consumer', 'instanceid': 'i-0bbbda1e03ca674eb', 'event': 'running', 'rc': 0, 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9'}
2022-01-19 03:03:51,315 - DEBUG - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.add_message: {"job": "", "message": "Consumer Registered", "consumer": "a7eb2f57-3ba0-4168-92e0-68db73e21aa9", "instanceid": "i-0bbbda1e03ca674eb", "resource": "job"}
2022-01-19 03:03:51,361 - DEBUG - foqus.foqus_lib.service.flowsheet - pop job
2022-01-19 03:03:51,440 - INFO - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'Type': 'String', 'Value': 'job.submit'}, 'username': {'Type': 'String', 'Value': 'boverhof'}}
2022-01-19 03:03:51,440 - INFO - foqus.foqus_lib.service.flowsheet - username: boverhof
2022-01-19 03:03:51,440 - INFO - foqus.foqus_lib.service.flowsheet - Job Description: {"Simulation":"zzfoqus_NGCC_EEMPA_Integrated_Model","Input":{"graph":{},"NGCC_EEMPA_Model":{"FFEDWATERFLOW":478535.935,"FUELGASFLOW":93272,"NTRAINSINV":0.3333,"ABSHEIGHT":21.6,"ABSDIAM":12.6,"STRHEIGHT":12,"STRDIAM":3.7,"NTRAINS":3,"CO2LEANLOADING":0.08,"RICHSOLVENTTEMP":87.5},"Economic_Model":{"feedwater_flowrate":478535.935,"fuelgas_value":93272,"fluegas_value":4324288.15,"CT_gross_power":-470530.674,"HRSG_heatin":-615.162129,"HRSG_heatout":-1149.34405,"stack_flow_gas":979688.595,"ST_gross_power":-212833.416,"condenser_duty":-207.709059,"stg_ctg_op":689800,"exhaust_steam_LP_turbine":389839.411,"CO2_gasin":82906.7116,"NoTrains":3,"Abs_ht":21.6,"Abs_d":12.6,"Strip_ht":12,"Strip_d":3.7,"UA_RbrArea":3600,"UA_CondArea":500,"UA_HexArea":3331494.3,"UA_LSCoolerArea":500,"EEMPA_makeup":603.782715,"CO2_emission_nocap":82910.8082,"CO2_emission_cap":8290.56474,"ProcContFrac":0.2,"CompAftercool_Cap":-30.086973,"CompAuxLoad_Cap":19890.6229,"fluegas_capsec":1441285.24,"EEMPA_fill_init":2906}},"Reset":false,"Id":"70ecea37-1e1c-4ebf-a3f4-073f9ec65a22","resource":"job","status":"submit","jobid":"70ecea37-1e1c-4ebf-a3f4-073f9ec65a22","sessionid":"b598dbb0-817a-47c7-a267-f72c3eeb406c","event":"status"}
2022-01-19 03:03:51,440 - INFO - foqus.foqus_lib.service.flowsheet - Job Directory: C:\ProgramData\foqus_service\70ecea37-1e1c-4ebf-a3f4-073f9ec65a22
2022-01-19 03:03:51,440 - DEBUG - foqus.foqus_lib.service.flowsheet - FOQUSAWSConfig._get: FOQUS-Simulation-Bucket-Name = foqussimulationdev1563311335
2022-01-19 03:03:51,440 - INFO - foqus.foqus_lib.service.flowsheet - Simulation Bucket: foqussimulationdev1563311335
2022-01-19 03:03:52,252 - INFO - foqus.foqus_lib.service.flowsheet - S3: Download Key boverhof/zzfoqus_NGCC_EEMPA_Integrated_Model/session.foqus
2022-01-19 03:03:52,533 - INFO - foqus.foqus_lib.service.flowsheet - Job Directory: C:\ProgramData\foqus_service\70ecea37-1e1c-4ebf-a3f4-073f9ec65a22
2022-01-19 03:03:52,549 - DEBUG - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.add_message: {"job": "70ecea37-1e1c-4ebf-a3f4-073f9ec65a22", "message": "consumer=a7eb2f57-3ba0-4168-92e0-68db73e21aa9, setup foqus job", "consumer": "a7eb2f57-3ba0-4168-92e0-68db73e21aa9", "instanceid": "i-0bbbda1e03ca674eb", "resource": "job"}
2022-01-19 03:03:52,549 - DEBUG - foqus.foqus_lib.service.flowsheet - setup foqus
2022-01-19 03:03:52,549 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.job_change_status {'Simulation': 'zzfoqus_NGCC_EEMPA_Integrated_Model', 'Input': {'graph': {}, 'NGCC_EEMPA_Model': {'FFEDWATERFLOW': 478535.935, 'FUELGASFLOW': 93272, 'NTRAINSINV': 0.3333, 'ABSHEIGHT': 21.6, 'ABSDIAM': 12.6, 'STRHEIGHT': 12, 'STRDIAM': 3.7, 'NTRAINS': 3, 'CO2LEANLOADING': 0.08, 'RICHSOLVENTTEMP': 87.5}, 'Economic_Model': {'feedwater_flowrate': 478535.935, 'fuelgas_value': 93272, 'fluegas_value': 4324288.15, 'CT_gross_power': -470530.674, 'HRSG_heatin': -615.162129, 'HRSG_heatout': -1149.34405, 'stack_flow_gas': 979688.595, 'ST_gross_power': -212833.416, 'condenser_duty': -207.709059, 'stg_ctg_op': 689800, 'exhaust_steam_LP_turbine': 389839.411, 'CO2_gasin': 82906.7116, 'NoTrains': 3, 'Abs_ht': 21.6, 'Abs_d': 12.6, 'Strip_ht': 12, 'Strip_d': 3.7, 'UA_RbrArea': 3600, 'UA_CondArea': 500, 'UA_HexArea': 3331494.3, 'UA_LSCoolerArea': 500, 'EEMPA_makeup': 603.782715, 'CO2_emission_nocap': 82910.8082, 'CO2_emission_cap': 8290.56474, 'ProcContFrac': 0.2, 'CompAftercool_Cap': -30.086973, 'CompAuxLoad_Cap': 19890.6229, 'fluegas_capsec': 1441285.24, 'EEMPA_fill_init': 2906}}, 'Reset': False, 'Id': '70ecea37-1e1c-4ebf-a3f4-073f9ec65a22', 'resource': 'job', 'status': 'submit', 'jobid': '70ecea37-1e1c-4ebf-a3f4-073f9ec65a22', 'sessionid': 'b598dbb0-817a-47c7-a267-f72c3eeb406c', 'event': 'status'}
2022-01-19 03:03:52,549 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'job', 'event': 'status', 'rc': 0, 'status': 'setup', 'jobid': '70ecea37-1e1c-4ebf-a3f4-073f9ec65a22', 'instanceid': 'i-0bbbda1e03ca674eb', 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9', 'sessionid': 'b598dbb0-817a-47c7-a267-f72c3eeb406c'}
2022-01-19 03:03:52,549 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: job.setup
2022-01-19 03:03:52,549 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'job.setup'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:03:52,580 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.get_configuration_file
2022-01-19 03:03:52,580 - INFO - foqus.foqus_lib.service.flowsheet - Job None is submitted
2022-01-19 03:03:52,580 - DEBUG - foqus.foqus_lib.service.flowsheet - Reset Flowsheet
2022-01-19 03:03:52,580 - DEBUG - foqus.foqus_lib.service.flowsheet - close: session dat is None
2022-01-19 03:03:52,580 - DEBUG - foqus.foqus_lib.service.flowsheet - USER CONFIG: (<foqus_lib.framework.session.session.generalSettings object at 0x0000019A086DC4C8>,)
2022-01-19 03:03:52,580 - DEBUG - foqus.foqus_lib.framework.session.session - Initializing session, Log file: C:\ProgramData\foqus_service\logs\foqus.log, Position: 7627
2022-01-19 03:03:52,580 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\surrogate\ACOSSO.py
2022-01-19 03:03:52,955 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\surrogate\ALAMO.py
2022-01-19 03:03:52,955 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\surrogate\BSS-ANOVA.py
2022-01-19 03:03:52,955 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\optimizer\BFGS.py
2022-01-19 03:03:57,080 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\optimizer\NLopt.py
2022-01-19 03:03:57,690 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\optimizer\OptCMA.py
2022-01-19 03:04:03,502 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\optimizer\PSUADE.py
2022-01-19 03:04:03,502 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\optimizer\Sample.py
2022-01-19 03:04:03,502 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\optimizer\SLSQP.py
2022-01-19 03:04:03,611 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\optimizer\Snobfit.py
2022-01-19 03:04:03,611 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Removing plugin, due to missing dependency: Snobfit
2022-01-19 03:04:03,611 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\pymodel\heat_integration.py
2022-01-19 03:04:03,721 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\pymodel\pymodel_test.py
2022-01-19 03:04:03,721 - INFO - foqus.foqus_lib.framework.plugins.pluginSearch - Loading Plugin: c:\users\administrator\desktop\foqus\foqus_lib\framework\pymodel\steam_cycle.py
2022-01-19 03:04:03,861 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration application url="http://localhost:8000/TurbineLite/application/"
2022-01-19 03:04:03,861 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration url="http://localhost:8000/TurbineLite"
2022-01-19 03:04:03,861 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - Stopped all running consumers
2022-01-19 03:04:03,861 - DEBUG - foqus.foqus_lib.framework.sim.process_management - Found Process: []
2022-01-19 03:04:03,877 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration application url="http://localhost:8000/TurbineLite/application/"
2022-01-19 03:04:03,877 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration url="http://localhost:8000/TurbineLite"
2022-01-19 03:04:03,877 - DEBUG - foqus.foqus_lib.service.flowsheet - Process Flowsheet nodes
2022-01-19 03:04:03,877 - DEBUG - foqus.foqus_lib.service.flowsheet - FOQUSAWSConfig._get: FOQUS-Simulation-Bucket-Name = foqussimulationdev1563311335
2022-01-19 03:04:03,955 - DEBUG - foqus.foqus_lib.service.flowsheet - Node model NGCC_EEMPA_Combine_basemodel_Final_Revised staged-input files ['boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/CO2BOLs-03.dll', 'boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/CO2BOLs-03.opt', 'boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/NGCC_EEMPA_Combine_basemodel_Final.bkp', 'boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/aspenplus_sinter.json', 'boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/meta.json']
2022-01-19 03:04:03,955 - DEBUG - foqus.foqus_lib.service.flowsheet - CWD: C:\ProgramData\foqus_service
2022-01-19 03:04:03,955 - DEBUG - foqus.foqus_lib.service.flowsheet - Turbine Configuration File: C:\ProgramData\foqus_service\turbine.cfg
2022-01-19 03:04:11,237 - DEBUG - foqus.foqus_lib.service.flowsheet - Found simulation="NGCC_EEMPA_Combine_basemodel_Final_Revised" in TurbineLite
2022-01-19 03:04:11,237 - DEBUG - foqus.foqus_lib.service.flowsheet - s3 staged input: {'Key': 'boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/CO2BOLs-03.dll', 'LastModified': datetime.datetime(2022, 1, 18, 23, 33, 30, tzinfo=tzutc()), 'ETag': '"56332b3f70dfa9307e1542b0ecddbcbf"', 'Size': 29184, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'jrboverhof+foquscloud', 'ID': 'ec7e3ae49d25bca6c05384038f494bdb3885bb3578261dd1369e60d9ef29cf25'}}
2022-01-19 03:04:11,346 - DEBUG - foqus.foqus_lib.service.flowsheet - model="NGCC_EEMPA_Combine_basemodel_Final_Revised" key="boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/CO2BOLs-03.dll" staged-in file="C:\ProgramData\foqus_service\test\14023331-d3d2-47f5-b7c0-3e14039e4072\CO2BOLs-03.dll"
2022-01-19 03:04:11,346 - DEBUG - foqus.foqus_lib.service.flowsheet - s3 staged input: {'Key': 'boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/CO2BOLs-03.opt', 'LastModified': datetime.datetime(2022, 1, 18, 23, 33, 31, tzinfo=tzutc()), 'ETag': '"15b9cf03013e5c2e0d1d2af85a706827"', 'Size': 163, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'jrboverhof+foquscloud', 'ID': 'ec7e3ae49d25bca6c05384038f494bdb3885bb3578261dd1369e60d9ef29cf25'}}
2022-01-19 03:04:11,424 - DEBUG - foqus.foqus_lib.service.flowsheet - model="NGCC_EEMPA_Combine_basemodel_Final_Revised" key="boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/CO2BOLs-03.opt" staged-in file="C:\ProgramData\foqus_service\test\14023331-d3d2-47f5-b7c0-3e14039e4072\CO2BOLs-03.opt"
2022-01-19 03:04:11,424 - DEBUG - foqus.foqus_lib.service.flowsheet - s3 staged input: {'Key': 'boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/NGCC_EEMPA_Combine_basemodel_Final.bkp', 'LastModified': datetime.datetime(2022, 1, 18, 23, 33, 28, tzinfo=tzutc()), 'ETag': '"a5b6186eccb0afa1300b579bcadc2f97"', 'Size': 3810498, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'jrboverhof+foquscloud', 'ID': 'ec7e3ae49d25bca6c05384038f494bdb3885bb3578261dd1369e60d9ef29cf25'}}
2022-01-19 03:04:11,705 - DEBUG - foqus.foqus_lib.service.flowsheet - model="NGCC_EEMPA_Combine_basemodel_Final_Revised" key="boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/NGCC_EEMPA_Combine_basemodel_Final.bkp" staged-in file="C:\ProgramData\foqus_service\test\14023331-d3d2-47f5-b7c0-3e14039e4072\NGCC_EEMPA_Combine_basemodel_Final.bkp"
2022-01-19 03:04:11,705 - DEBUG - foqus.foqus_lib.service.flowsheet - s3 staged input: {'Key': 'boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/aspenplus_sinter.json', 'LastModified': datetime.datetime(2022, 1, 18, 23, 33, 20, tzinfo=tzutc()), 'ETag': '"a1b49b563df5aea56e374dde2e2e2173"', 'Size': 8512, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'jrboverhof+foquscloud', 'ID': 'ec7e3ae49d25bca6c05384038f494bdb3885bb3578261dd1369e60d9ef29cf25'}}
2022-01-19 03:04:11,768 - DEBUG - foqus.foqus_lib.service.flowsheet - model="NGCC_EEMPA_Combine_basemodel_Final_Revised" key="boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/aspenplus_sinter.json" staged-in file="C:\ProgramData\foqus_service\test\14023331-d3d2-47f5-b7c0-3e14039e4072\sinter_configuration.txt"
2022-01-19 03:04:11,768 - DEBUG - foqus.foqus_lib.service.flowsheet - s3 staged input: {'Key': 'boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/meta.json', 'LastModified': datetime.datetime(2022, 1, 18, 23, 33, 18, tzinfo=tzutc()), 'ETag': '"93f008b5d6a0c90d09fe40e64f2a730e"', 'Size': 102, 'StorageClass': 'STANDARD', 'Owner': {'DisplayName': 'jrboverhof+foquscloud', 'ID': 'ec7e3ae49d25bca6c05384038f494bdb3885bb3578261dd1369e60d9ef29cf25'}}
2022-01-19 03:04:11,830 - DEBUG - foqus.foqus_lib.service.flowsheet - model="NGCC_EEMPA_Combine_basemodel_Final_Revised" key="boverhof/NGCC_EEMPA_Combine_basemodel_Final_Revised/meta.json" staged-in file="C:\ProgramData\foqus_service\test\14023331-d3d2-47f5-b7c0-3e14039e4072\meta.json"
2022-01-19 03:04:11,830 - DEBUG - foqus.foqus_lib.service.flowsheet - BEFORE run_foqus
2022-01-19 03:04:11,830 - DEBUG - foqus.foqus_lib.service.flowsheet - DELETE received message from queue: AQEB/5zcYxI29qvCWlPyePCUylp72SshkdC0Jk2jxzFijOlxLqy8wPMAE1WlHm0TBWDXRf1kyhNan0DLhK+z/QM4A1B+Wzq2n/0mDvxgh+YNWRPAqQOoR1RAcV35TrwX3sybKNMnjrvp34mB9MorYyb32jZZVKJa6/MUA5cmkYSSr6pSic1Dlt8/MuRyMycn0eKfLzcNh0Z1+nrUtoUt+6357PkAn4IS9pnAfsLSYoQBkOeR/UmvG3X4gWVDnKFPCUmwJBAbimsLZQcsgOQPG3Yj3LwmEoTqpOsqBsCUuCc3gw9lGWucYtpNtMQOcAbbvSkKg2Js90i0I8soPG3WJTZPa3cALsz4NJGJ5VSiUgtdfnHo+vEY405XGZGMus2Tm6yrkJpkrmDVfJ9Lt6ymdg4rznigeFxcGL3gITA4Tjii/0vIqy2RUEuQjuX2nU5FiZ9P
2022-01-19 03:04:11,846 - INFO - foqus.foqus_lib.service.flowsheet - Job Directory: C:\ProgramData\foqus_service\70ecea37-1e1c-4ebf-a3f4-073f9ec65a22
2022-01-19 03:04:11,846 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.job_change_status {'Simulation': 'zzfoqus_NGCC_EEMPA_Integrated_Model', 'Input': {'graph': {}, 'NGCC_EEMPA_Model': {'FFEDWATERFLOW': 478535.935, 'FUELGASFLOW': 93272, 'NTRAINSINV': 0.3333, 'ABSHEIGHT': 21.6, 'ABSDIAM': 12.6, 'STRHEIGHT': 12, 'STRDIAM': 3.7, 'NTRAINS': 3, 'CO2LEANLOADING': 0.08, 'RICHSOLVENTTEMP': 87.5}, 'Economic_Model': {'feedwater_flowrate': 478535.935, 'fuelgas_value': 93272, 'fluegas_value': 4324288.15, 'CT_gross_power': -470530.674, 'HRSG_heatin': -615.162129, 'HRSG_heatout': -1149.34405, 'stack_flow_gas': 979688.595, 'ST_gross_power': -212833.416, 'condenser_duty': -207.709059, 'stg_ctg_op': 689800, 'exhaust_steam_LP_turbine': 389839.411, 'CO2_gasin': 82906.7116, 'NoTrains': 3, 'Abs_ht': 21.6, 'Abs_d': 12.6, 'Strip_ht': 12, 'Strip_d': 3.7, 'UA_RbrArea': 3600, 'UA_CondArea': 500, 'UA_HexArea': 3331494.3, 'UA_LSCoolerArea': 500, 'EEMPA_makeup': 603.782715, 'CO2_emission_nocap': 82910.8082, 'CO2_emission_cap': 8290.56474, 'ProcContFrac': 0.2, 'CompAftercool_Cap': -30.086973, 'CompAuxLoad_Cap': 19890.6229, 'fluegas_capsec': 1441285.24, 'EEMPA_fill_init': 2906}}, 'Reset': False, 'Id': '70ecea37-1e1c-4ebf-a3f4-073f9ec65a22', 'resource': 'job', 'status': 'submit', 'jobid': '70ecea37-1e1c-4ebf-a3f4-073f9ec65a22', 'sessionid': 'b598dbb0-817a-47c7-a267-f72c3eeb406c', 'event': 'status'}
2022-01-19 03:04:11,846 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'job', 'event': 'status', 'rc': 0, 'status': 'running', 'jobid': '70ecea37-1e1c-4ebf-a3f4-073f9ec65a22', 'instanceid': 'i-0bbbda1e03ca674eb', 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9', 'sessionid': 'b598dbb0-817a-47c7-a267-f72c3eeb406c'}
2022-01-19 03:04:11,846 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: job.running
2022-01-19 03:04:11,846 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'job.running'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:04:12,299 - DEBUG - foqus.foqus_lib.framework.graph.graph - run: Running flowsheet(s) locally
2022-01-19 03:04:12,299 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration application url="http://localhost:8000/TurbineLite/application/"
2022-01-19 03:04:12,299 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration url="http://localhost:8000/TurbineLite"
2022-01-19 03:04:12,299 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - Starting simulation consumer...
2022-01-19 03:04:12,799 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration -   Waiting for consumer to register in DB...
2022-01-19 03:04:16,658 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration -   Waiting for consumer to register in DB...
2022-01-19 03:04:18,674 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration -   Waiting for consumer to register in DB...
2022-01-19 03:04:20,690 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration -   Waiting for consumer to register in DB...
2022-01-19 03:04:22,299 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:04:22,705 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration -   Waiting for consumer to register in DB...
2022-01-19 03:04:24,721 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration -   Waiting for consumer to register in DB...
2022-01-19 03:04:26,737 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - Started consumer for AspenPlus, id: {0259EDBB-0C03-4816-9A96-28CFE6292C21}
2022-01-19 03:04:26,737 - DEBUG - foqus.foqus_lib.framework.graph.node - Generated Job JSON:
[
  {
    "ConsumerId": "{0259EDBB-0C03-4816-9A96-28CFE6292C21}",
    "Initialize": true,
    "Input": {
      "ABSDIAM": 12.6,
      "ABSHEIGHT": 21.6,
      "CO2LEANLOADING": 0.08,
      "FFEDWATERFLOW": 478535.935,
      "FUELGASFLOW": 93272.0,
      "NTRAINS": 3.0,
      "NTRAINSINV": 0.3333,
      "RICHSOLVENTTEMP": 87.5,
      "STRDIAM": 3.7,
      "STRHEIGHT": 12.0
    },
    "Reset": false,
    "Simulation": "NGCC_EEMPA_Combine_basemodel_Final_Revised",
    "Visible": true
  }
]
2022-01-19 03:04:27,612 - DEBUG - foqus.foqus_lib.framework.graph.node - Started Job: 2 Turbin SID: d02f8ede-95bc-4669-89e4-02b873e75f25
2022-01-19 03:04:32,299 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:04:42,300 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:04:52,300 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:04:52,863 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_keepalive
2022-01-19 03:04:52,863 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'consumer', 'event': 'running', 'rc': 0, 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9', 'instanceid': 'i-0bbbda1e03ca674eb'}
2022-01-19 03:04:52,863 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: consumer.running
2022-01-19 03:04:52,863 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'consumer.running'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:05:02,301 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:05:12,302 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:05:22,316 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:05:32,348 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:05:42,348 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:05:52,348 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:05:53,801 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_keepalive
2022-01-19 03:05:53,801 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'consumer', 'event': 'running', 'rc': 0, 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9', 'instanceid': 'i-0bbbda1e03ca674eb'}
2022-01-19 03:05:53,801 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: consumer.running
2022-01-19 03:05:53,801 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'consumer.running'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:06:02,348 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:06:12,348 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:06:22,349 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:06:32,349 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:06:42,350 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:06:52,350 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:06:54,694 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_keepalive
2022-01-19 03:06:54,694 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'consumer', 'event': 'running', 'rc': 0, 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9', 'instanceid': 'i-0bbbda1e03ca674eb'}
2022-01-19 03:06:54,694 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: consumer.running
2022-01-19 03:06:54,694 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'consumer.running'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:07:02,350 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:07:12,350 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:07:22,350 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:07:32,351 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:07:42,352 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:07:52,352 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:07:55,602 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_keepalive
2022-01-19 03:07:55,602 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'consumer', 'event': 'running', 'rc': 0, 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9', 'instanceid': 'i-0bbbda1e03ca674eb'}
2022-01-19 03:07:55,602 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: consumer.running
2022-01-19 03:07:55,602 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'consumer.running'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:08:02,352 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:08:12,352 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:08:22,352 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:08:32,352 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:08:42,353 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:08:52,353 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:08:56,556 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_keepalive
2022-01-19 03:08:56,556 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'consumer', 'event': 'running', 'rc': 0, 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9', 'instanceid': 'i-0bbbda1e03ca674eb'}
2022-01-19 03:08:56,556 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: consumer.running
2022-01-19 03:08:56,556 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'consumer.running'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:09:02,353 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:09:12,400 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:09:22,400 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:09:32,400 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:09:42,401 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:09:52,401 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:09:57,496 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_keepalive
2022-01-19 03:09:57,496 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'consumer', 'event': 'running', 'rc': 0, 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9', 'instanceid': 'i-0bbbda1e03ca674eb'}
2022-01-19 03:09:57,496 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: consumer.running
2022-01-19 03:09:57,496 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'consumer.running'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:09:58,307 - INFO - foqus.foqus_lib.framework.sim.turbineConfiguration - Job 2 Started Running
2022-01-19 03:10:02,415 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:10:12,415 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:10:22,415 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:10:32,417 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:10:42,433 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:10:52,433 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:10:58,970 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_keepalive
2022-01-19 03:10:58,970 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'consumer', 'event': 'running', 'rc': 0, 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9', 'instanceid': 'i-0bbbda1e03ca674eb'}
2022-01-19 03:10:58,970 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: consumer.running
2022-01-19 03:10:58,970 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'consumer.running'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:11:02,470 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:11:12,470 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:11:22,470 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:11:32,501 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:11:39,111 - DEBUG - foqus.foqus_lib.framework.graph.node - Job finished successfully: 2
2022-01-19 03:11:39,111 - INFO - foqus.foqus_lib.framework.graph.node - Job 2 Finished Successfully
2022-01-19 03:11:39,111 - DEBUG - foqus.foqus_lib.framework.graph.node - Job 2 Results:
{"Id": 2, "Guid": "9e207e31-986d-4cad-8fac-dbd5db9fe106", "Simulation": "NGCC_EEMPA_Combine_basemodel_Final_Revised", "State": "success", "Messages": ["event=setup,consumer=0259edbb-0c03-4816-9a96-28cfe6292c21", "working directory setup finished", "sinter read setup finished", "event=running,consumer=0259edbb-0c03-4816-9a96-28cfe6292c21", "Warm-up inputs sent, running simulation", "Warm-up complete and successful.  Reseting Sim for real run.", "sinter inputs sent, running simulation", "Real Run was complete and successful.", "event=sucess,consumer=0259edbb-0c03-4816-9a96-28cfe6292c21"], "Input": {"ABSDIAM": 12.6, "ABSHEIGHT": 21.6, "CO2LEANLOADING": 0.08, "FFEDWATERFLOW": 478535.935, "FUELGASFLOW": 93272.0, "NTRAINS": 3.0, "NTRAINSINV": 0.3333, "RICHSOLVENTTEMP": 87.5, "STRDIAM": 3.7, "STRHEIGHT": 12.0}, "Output": {"CTGROSSPOWER": {"value": -470530.674, "units": "kW"}, "HRSGHEATOUT": {"value": -1149.35036, "units": "Gcal/hr"}, "RSGHEATIN": {"value": -615.162129, "units": "Gcal/hr"}, "STGROSSPOWER": {"value": -212844.656, "units": "kW"}, "CONDENSERDUTY": {"value": -207.739868, "units": "Gcal/hr"}, "CO2COMPAFTERCOOLDUTY": {"value": -30.0867775, "units": "Gcal/hr"}, "CO2COMPAUXLOAD": {"value": 19890.4988, "units": "kW"}, "CO2CAPTUREPERC": {"value": 90.0001253, "units": null}, "FGCO2IN": {"value": 82906.7116, "units": "kg/hr"}, "CO2VENT": {"value": 8290.56729, "units": "kg/hr"}, "LEANRICHHXUA": {"value": 3331840.06, "units": "cal/sec-K"}, "CO2VENTNOCAP": {"value": 82910.8082, "units": "kg/hr"}, "LPTURBINESTEAMOUTLET": {"value": 389898.149, "units": "kg/hr"}, "STACKGASFLOW": {"value": 979688.592, "units": "cum/hr"}, "EEMPAMAKEUP": {"value": 603.783756, "units": "kg/hr"}, "FLUEGASFLOW": {"value": 4324218.1, "units": "cum/hr"}, "MAXCAPACITYABS": {"value": 0.917606919, "units": null}, "MAXCAPACITYSTR": {"value": 1.10239617, "units": null}, "FLUEGASCAPSEC": {"value": 1441261.89, "units": "cum/hr"}, "status": {"units": "", "value": 0}}, "Errors": [], "Status": 0, "Session": "d02f8ede-95bc-4669-89e4-02b873e75f25", "Initialize": true, "Reset": false, "Visible": true, "Consumer": "0259edbb-0c03-4816-9a96-28cfe6292c21", "Create": "2022-01-19T03:04:27.3470000", "Submit": "2022-01-19T03:04:27.6130000", "Setup": "2022-01-19T03:04:31.6130000", "Running": "2022-01-19T03:09:57.2770000", "Finished": "2022-01-19T03:11:37.0970000"}
2022-01-19 03:11:39,111 - DEBUG - foqus.foqus_lib.framework.graph.node - Outputs: CTGROSSPOWER = -470530.674
HRSGHEATOUT = -1149.35036
RSGHEATIN = -615.162129
STGROSSPOWER = -212844.656
CONDENSERDUTY = -207.739868
CO2COMPAFTERCOOLDUTY = -30.0867775
CO2COMPAUXLOAD = 19890.4988
CO2CAPTUREPERC = 90.0001253
FGCO2IN = 82906.7116
CO2VENT = 8290.56729
LEANRICHHXUA = 3331840.06
CO2VENTNOCAP = 82910.8082
LPTURBINESTEAMOUTLET = 389898.149
STACKGASFLOW = 979688.592
EEMPAMAKEUP = 603.783756
FLUEGASFLOW = 4324218.1
MAXCAPACITYABS = 0.917606919
MAXCAPACITYSTR = 1.10239617
FLUEGASCAPSEC = 1441261.89
status = 0

2022-01-19 03:11:39,111 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration application url="http://localhost:8000/TurbineLite/application/"
2022-01-19 03:11:39,111 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration url="http://localhost:8000/TurbineLite"
2022-01-19 03:11:39,111 - ERROR - foqus.foqus_lib.framework.graph.node - Error in node python code
Traceback (most recent call last):
  File "c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\node.py", line 558, in runPython
    exec(self.pythonCode)
  File "<string>", line 47, in <module>
ModuleNotFoundError: No module named 'pyomo'
2022-01-19 03:11:39,220 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 03:11:39,220 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.job_save_output
2022-01-19 03:11:39,220 - DEBUG - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.job_save_output:  {"solTime": 446.9208183288574, "input": {"graph": {}, "NGCC_EEMPA_Model": {"FFEDWATERFLOW": 478535.935, "FUELGASFLOW": 93272.0, "NTRAINSINV": 0.3333, "ABSHEIGHT": 21.6, "ABSDIAM": 12.6, "STRHEIGHT": 12.0, "STRDIAM": 3.7, "NTRAINS": 3.0, "CO2LEANLOADING": 0.08, "RICHSOLVENTTEMP": 87.5}, "Economic_Model": {"feedwater_flowrate": 478535.935, "fuelgas_value": 93272.0, "fluegas_value": 4324218.1, "CT_gross_power": -470530.674, "HRSG_heatin": -615.162129, "HRSG_heatout": -1149.35036, "stack_flow_gas": 979688.592, "ST_gross_power": -212844.656, "condenser_duty": -207.739868, "stg_ctg_op": 689800.0, "exhaust_steam_LP_turbine": 389898.149, "CO2_gasin": 82906.7116, "NoTrains": 3.0, "Abs_ht": 21.6, "Abs_d": 12.6, "Strip_ht": 12.0, "Strip_d": 3.7, "UA_RbrArea": 3600.0, "UA_CondArea": 500.0, "UA_HexArea": 3331840.06, "UA_LSCoolerArea": 500.0, "EEMPA_makeup": 603.783756, "CO2_emission_nocap": 82910.8082, "CO2_emission_cap": 8290.56729, "ProcContFrac": 0.2, "CompAftercool_Cap": -30.0867775, "CompAuxLoad_Cap": 19890.4988, "fluegas_capsec": 1441261.89, "EEMPA_fill_init": 2906.0}}, "output": {"graph": {"error": 1.0}, "NGCC_EEMPA_Model": {"CTGROSSPOWER": -470530.674, "HRSGHEATOUT": -1149.35036, "RSGHEATIN": -615.162129, "STGROSSPOWER": -212844.656, "CONDENSERDUTY": -207.739868, "CO2COMPAFTERCOOLDUTY": -30.0867775, "CO2COMPAUXLOAD": 19890.4988, "CO2CAPTUREPERC": 90.0001253, "FGCO2IN": 82906.7116, "CO2VENT": 8290.56729, "LEANRICHHXUA": 3331840.06, "CO2VENTNOCAP": 82910.8082, "LPTURBINESTEAMOUTLET": 389898.149, "STACKGASFLOW": 979688.592, "EEMPAMAKEUP": 603.783756, "FLUEGASFLOW": 4324218.1, "MAXCAPACITYABS": 0.917606919, "MAXCAPACITYSTR": 1.10239617, "FLUEGASCAPSEC": 1441261.89, "status": 0.0}, "Economic_Model": {"CaptureCost": 73.41052796230707, "CO2AvoidedCost": 96.30987199658558, "LCOE": 72.67533145868566, "LCOE_no_ts": 69.17405639459432, "Capital_LCOE": 23.757927865621237, "Fixed_LCOE": 8.338492365480178, "Variable_LCOE": 5.091485598888075, "Fuel_LCOE": 31.986150564604817}}, "graphError": 1, "nodeError": {"NGCC_EEMPA_Model": 0, "Economic_Model": 21}, "nodeSettings": {"NGCC_EEMPA_Model": {"Visible": true, "Initialize Model": true, "Reset": false, "Reset on Fail": true, "Retry": false, "Allow Simulation Warnings": true, "Max consumer reuse": 90, "Maximum Wait Time (s)": 1440.0, "Maximum Run Time (s)": 840.0, "Min Status Check Interval": 4.0, "Max Status Check Interval": 5.0, "Override Turbine Configuration": "NULL"}, "Economic_Model": {}}, "turbineMessages": {"NGCC_EEMPA_Model": "[\"event=setup,consumer=0259edbb-0c03-4816-9a96-28cfe6292c21\", \"working directory setup finished\", \"sinter read setup finished\", \"event=running,consumer=0259edbb-0c03-4816-9a96-28cfe6292c21\", \"Warm-up inputs sent, running simulation\", \"Warm-up complete and successful.  Reseting Sim for real run.\", \"sinter inputs sent, running simulation\", \"Real Run was complete and successful.\", \"event=sucess,consumer=0259edbb-0c03-4816-9a96-28cfe6292c21\"]", "Economic_Model": "NULL"}}
2022-01-19 03:11:39,236 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'job', 'event': 'output', 'jobid': '70ecea37-1e1c-4ebf-a3f4-073f9ec65a22', 'username': 'boverhof', 'value': {'solTime': 446.9208183288574, 'input': {'graph': {}, 'NGCC_EEMPA_Model': {'FFEDWATERFLOW': 478535.935, 'FUELGASFLOW': 93272.0, 'NTRAINSINV': 0.3333, 'ABSHEIGHT': 21.6, 'ABSDIAM': 12.6, 'STRHEIGHT': 12.0, 'STRDIAM': 3.7, 'NTRAINS': 3.0, 'CO2LEANLOADING': 0.08, 'RICHSOLVENTTEMP': 87.5}, 'Economic_Model': {'feedwater_flowrate': 478535.935, 'fuelgas_value': 93272.0, 'fluegas_value': 4324218.1, 'CT_gross_power': -470530.674, 'HRSG_heatin': -615.162129, 'HRSG_heatout': -1149.35036, 'stack_flow_gas': 979688.592, 'ST_gross_power': -212844.656, 'condenser_duty': -207.739868, 'stg_ctg_op': 689800.0, 'exhaust_steam_LP_turbine': 389898.149, 'CO2_gasin': 82906.7116, 'NoTrains': 3.0, 'Abs_ht': 21.6, 'Abs_d': 12.6, 'Strip_ht': 12.0, 'Strip_d': 3.7, 'UA_RbrArea': 3600.0, 'UA_CondArea': 500.0, 'UA_HexArea': 3331840.06, 'UA_LSCoolerArea': 500.0, 'EEMPA_makeup': 603.783756, 'CO2_emission_nocap': 82910.8082, 'CO2_emission_cap': 8290.56729, 'ProcContFrac': 0.2, 'CompAftercool_Cap': -30.0867775, 'CompAuxLoad_Cap': 19890.4988, 'fluegas_capsec': 1441261.89, 'EEMPA_fill_init': 2906.0}}, 'output': {'graph': {'error': 1.0}, 'NGCC_EEMPA_Model': {'CTGROSSPOWER': -470530.674, 'HRSGHEATOUT': -1149.35036, 'RSGHEATIN': -615.162129, 'STGROSSPOWER': -212844.656, 'CONDENSERDUTY': -207.739868, 'CO2COMPAFTERCOOLDUTY': -30.0867775, 'CO2COMPAUXLOAD': 19890.4988, 'CO2CAPTUREPERC': 90.0001253, 'FGCO2IN': 82906.7116, 'CO2VENT': 8290.56729, 'LEANRICHHXUA': 3331840.06, 'CO2VENTNOCAP': 82910.8082, 'LPTURBINESTEAMOUTLET': 389898.149, 'STACKGASFLOW': 979688.592, 'EEMPAMAKEUP': 603.783756, 'FLUEGASFLOW': 4324218.1, 'MAXCAPACITYABS': 0.917606919, 'MAXCAPACITYSTR': 1.10239617, 'FLUEGASCAPSEC': 1441261.89, 'status': 0.0}, 'Economic_Model': {'CaptureCost': 73.41052796230707, 'CO2AvoidedCost': 96.30987199658558, 'LCOE': 72.67533145868566, 'LCOE_no_ts': 69.17405639459432, 'Capital_LCOE': 23.757927865621237, 'Fixed_LCOE': 8.338492365480178, 'Variable_LCOE': 5.091485598888075, 'Fuel_LCOE': 31.986150564604817}}, 'graphError': 1, 'nodeError': {'NGCC_EEMPA_Model': 0, 'Economic_Model': 21}, 'nodeSettings': {'NGCC_EEMPA_Model': {'Visible': True, 'Initialize Model': True, 'Reset': False, 'Reset on Fail': True, 'Retry': False, 'Allow Simulation Warnings': True, 'Max consumer reuse': 90, 'Maximum Wait Time (s)': 1440.0, 'Maximum Run Time (s)': 840.0, 'Min Status Check Interval': 4.0, 'Max Status Check Interval': 5.0, 'Override Turbine Configuration': 'NULL'}, 'Economic_Model': {}}, 'turbineMessages': {'NGCC_EEMPA_Model': '["event=setup,consumer=0259edbb-0c03-4816-9a96-28cfe6292c21", "working directory setup finished", "sinter read setup finished", "event=running,consumer=0259edbb-0c03-4816-9a96-28cfe6292c21", "Warm-up inputs sent, running simulation", "Warm-up complete and successful.  Reseting Sim for real run.", "sinter inputs sent, running simulation", "Real Run was complete and successful.", "event=sucess,consumer=0259edbb-0c03-4816-9a96-28cfe6292c21"]', 'Economic_Model': 'NULL'}}, 'rc': 0, 'sessionid': 'b598dbb0-817a-47c7-a267-f72c3eeb406c'}
2022-01-19 03:11:39,236 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: job.unknown
2022-01-19 03:11:39,236 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'job.unknown'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:11:41,298 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.job_change_status {'Simulation': 'zzfoqus_NGCC_EEMPA_Integrated_Model', 'Input': {'graph': {}, 'NGCC_EEMPA_Model': {'FFEDWATERFLOW': 478535.935, 'FUELGASFLOW': 93272, 'NTRAINSINV': 0.3333, 'ABSHEIGHT': 21.6, 'ABSDIAM': 12.6, 'STRHEIGHT': 12, 'STRDIAM': 3.7, 'NTRAINS': 3, 'CO2LEANLOADING': 0.08, 'RICHSOLVENTTEMP': 87.5}, 'Economic_Model': {'feedwater_flowrate': 478535.935, 'fuelgas_value': 93272, 'fluegas_value': 4324288.15, 'CT_gross_power': -470530.674, 'HRSG_heatin': -615.162129, 'HRSG_heatout': -1149.34405, 'stack_flow_gas': 979688.595, 'ST_gross_power': -212833.416, 'condenser_duty': -207.709059, 'stg_ctg_op': 689800, 'exhaust_steam_LP_turbine': 389839.411, 'CO2_gasin': 82906.7116, 'NoTrains': 3, 'Abs_ht': 21.6, 'Abs_d': 12.6, 'Strip_ht': 12, 'Strip_d': 3.7, 'UA_RbrArea': 3600, 'UA_CondArea': 500, 'UA_HexArea': 3331494.3, 'UA_LSCoolerArea': 500, 'EEMPA_makeup': 603.782715, 'CO2_emission_nocap': 82910.8082, 'CO2_emission_cap': 8290.56474, 'ProcContFrac': 0.2, 'CompAftercool_Cap': -30.086973, 'CompAuxLoad_Cap': 19890.6229, 'fluegas_capsec': 1441285.24, 'EEMPA_fill_init': 2906}}, 'Reset': False, 'Id': '70ecea37-1e1c-4ebf-a3f4-073f9ec65a22', 'resource': 'job', 'status': 'submit', 'jobid': '70ecea37-1e1c-4ebf-a3f4-073f9ec65a22', 'sessionid': 'b598dbb0-817a-47c7-a267-f72c3eeb406c', 'event': 'status'}
2022-01-19 03:11:41,298 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'job', 'event': 'status', 'rc': 0, 'status': 'error', 'jobid': '70ecea37-1e1c-4ebf-a3f4-073f9ec65a22', 'instanceid': 'i-0bbbda1e03ca674eb', 'consumer': 'a7eb2f57-3ba0-4168-92e0-68db73e21aa9', 'sessionid': 'b598dbb0-817a-47c7-a267-f72c3eeb406c', 'message': 'Flowsheet errorStat: 1'}
2022-01-19 03:11:41,298 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: job.error
2022-01-19 03:11:41,298 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'job.error'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2022-01-19 03:11:41,314 - DEBUG - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.add_message: {"job": "70ecea37-1e1c-4ebf-a3f4-073f9ec65a22", "message": "consumer=a7eb2f57-3ba0-4168-92e0-68db73e21aa9, job 70ecea37-1e1c-4ebf-a3f4-073f9ec65a22 finished, error", "consumer": "a7eb2f57-3ba0-4168-92e0-68db73e21aa9", "instanceid": "i-0bbbda1e03ca674eb", "resource": "job"}
2022-01-19 03:11:41,345 - INFO - foqus.foqus_lib.service.flowsheet - Job 70ecea37-1e1c-4ebf-a3f4-073f9ec65a22 finished
2022-01-19 03:11:41,345 - DEBUG - foqus.foqus_lib.service.flowsheet - pop job
2022-01-19 03:11:51,392 - INFO - foqus.foqus_lib.service.flowsheet - Job Queue is Empty
boverhof commented 2 years ago

OUTPUT graphError: 1

{
  "Finished": "2022-01-18T23:47:54.124Z",
  "Input": {
    "Economic_Model": {
      "fluegas_value": 4324288.15,
      "UA_LSCoolerArea": 500,
      "EEMPA_fill_init": 2906,
      "stack_flow_gas": 979688.595,
      "exhaust_steam_LP_turbine": 389839.411,
      "UA_CondArea": 500,
      "CompAftercool_Cap": -30.086973,
      "Strip_d": 3.7,
      "CO2_emission_cap": 8290.56474,
      "UA_HexArea": 3331494.3,
      "CT_gross_power": -470530.674,
      "CO2_gasin": 82906.7116,
      "NoTrains": 3,
      "Abs_ht": 21.6,
      "CompAuxLoad_Cap": 19890.6229,
      "fluegas_capsec": 1441285.24,
      "feedwater_flowrate": 478535.935,
      "stg_ctg_op": 689800,
      "ST_gross_power": -212833.416,
      "Strip_ht": 12,
      "UA_RbrArea": 3600,
      "condenser_duty": -207.709059,
      "EEMPA_makeup": 603.782715,
      "ProcContFrac": 0.2,
      "Abs_d": 12.6,
      "CO2_emission_nocap": 82910.8082,
      "HRSG_heatin": -615.162129,
      "HRSG_heatout": -1149.34405,
      "fuelgas_value": 93272
    },
    "graph": {},
    "NGCC_EEMPA_Model": {
      "RICHSOLVENTTEMP": 87.5,
      "ABSDIAM": 12.6,
      "STRHEIGHT": 12,
      "CO2LEANLOADING": 0.08,
      "NTRAINSINV": 0.3333,
      "NTRAINS": 3,
      "ABSHEIGHT": 21.6,
      "STRDIAM": 3.7,
      "FFEDWATERFLOW": 478535.935,
      "FUELGASFLOW": 93272
    }
  },
  "setup": "2022-01-18T23:41:41.036Z",
  "Reset": false,
  "TTL": 1642636074,
  "State": "error",
  "Create": "2022-01-18T23:34:04.542Z",
  "Type": "Job",
  "running": "2022-01-18T23:41:54.717Z",
  "Application": "foqus",
  "User": "boverhof",
  "submit": "2022-01-18T23:34:09.273Z",
  "Id": "ea9f9f4e-360b-480d-90a9-244ac358cc64",
  "ConsumerId": "f6071b83-6954-4e70-aff7-be5cccf6ff20",
  "Simulation": "zzfoqus_NGCC_EEMPA_Integrated_Model",
  "Output": {
    "solTime": 357.2658567428589,
    "input": {
      "graph": {},
      "NGCC_EEMPA_Model": {
        "FFEDWATERFLOW": 478535.935,
        "FUELGASFLOW": 93272,
        "NTRAINSINV": 0.3333,
        "ABSHEIGHT": 21.6,
        "ABSDIAM": 12.6,
        "STRHEIGHT": 12,
        "STRDIAM": 3.7,
        "NTRAINS": 3,
        "CO2LEANLOADING": 0.08,
        "RICHSOLVENTTEMP": 87.5
      },
      "Economic_Model": {
        "feedwater_flowrate": 478535.935,
        "fuelgas_value": 93272,
        "fluegas_value": 4324288.15,
        "CT_gross_power": -470530.674,
        "HRSG_heatin": -615.162129,
        "HRSG_heatout": -1149.34405,
        "stack_flow_gas": 979688.595,
        "ST_gross_power": -212833.416,
        "condenser_duty": -207.709059,
        "stg_ctg_op": 689800,
        "exhaust_steam_LP_turbine": 389839.411,
        "CO2_gasin": 82906.7116,
        "NoTrains": 3,
        "Abs_ht": 21.6,
        "Abs_d": 12.6,
        "Strip_ht": 12,
        "Strip_d": 3.7,
        "UA_RbrArea": 3600,
        "UA_CondArea": 500,
        "UA_HexArea": 3331494.3,
        "UA_LSCoolerArea": 500,
        "EEMPA_makeup": 603.782715,
        "CO2_emission_nocap": 82910.8082,
        "CO2_emission_cap": 8290.56474,
        "ProcContFrac": 0.2,
        "CompAftercool_Cap": -30.086973,
        "CompAuxLoad_Cap": 19890.6229,
        "fluegas_capsec": 1441285.24,
        "EEMPA_fill_init": 2906
      }
    },
    "output": {
      "graph": {
        "error": 1
      },
      "NGCC_EEMPA_Model": {
        "CTGROSSPOWER": -470530.674,
        "HRSGHEATOUT": -1149.34405,
        "RSGHEATIN": -615.162129,
        "STGROSSPOWER": -212833.416,
        "CONDENSERDUTY": -207.709059,
        "CO2COMPAFTERCOOLDUTY": -30.086973,
        "CO2COMPAUXLOAD": 19890.6229,
        "CO2CAPTUREPERC": 90.0001284,
        "FGCO2IN": 82906.7116,
        "CO2VENT": 8290.56474,
        "LEANRICHHXUA": 3331494.3,
        "CO2VENTNOCAP": 82910.8082,
        "LPTURBINESTEAMOUTLET": 389839.411,
        "STACKGASFLOW": 979688.595,
        "EEMPAMAKEUP": 603.782715,
        "FLUEGASFLOW": 4324288.15,
        "MAXCAPACITYABS": 0.917606863,
        "MAXCAPACITYSTR": 1.10237574,
        "FLUEGASCAPSEC": 1441285.24,
        "status": 0
      },
      "Economic_Model": {
        "CaptureCost": 73.41052796230707,
        "CO2AvoidedCost": 96.30987199658558,
        "LCOE": 72.67533145868566,
        "LCOE_no_ts": 69.17405639459432,
        "Capital_LCOE": 23.757927865621237,
        "Fixed_LCOE": 8.338492365480178,
        "Variable_LCOE": 5.091485598888075,
        "Fuel_LCOE": 31.986150564604817
      }
    },
    "graphError": 1,
    "nodeError": {
      "NGCC_EEMPA_Model": 7,
      "Economic_Model": -1
    },
    "nodeSettings": {
      "NGCC_EEMPA_Model": {
        "Visible": true,
        "Initialize Model": true,
        "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"
      },
      "Economic_Model": {}
    },
    "turbineMessages": {
      "NGCC_EEMPA_Model": "[\"event=setup,consumer=cb844923-b6bb-4e48-95c4-624767c20039\", \"working directory setup finished\", \"sinter read setup finished\", \"event=running,consumer=cb844923-b6bb-4e48-95c4-624767c20039\", \"Warm-up inputs sent, running simulation\", \"Warm-up complete and failed.  Reseting Sim for real run.\", \"sinter inputs sent, running simulation\", \"Real Run failed, runStatus=si_SIMULATION_ERROR\", \"event=error,consumer=cb844923-b6bb-4e48-95c4-624767c20039,msg=\\\"Error: si_SIMULATION_ERROR: Convergence Block $OLVER01 has Errors:\\r\\nConvergence Block $OLVER02 has Errors:\\r\\nConvergence Block $OLVER03 has Errors:\\r\\n\\\"\"]",
      "Economic_Model": "NULL"
    }
  },
  "Session": "5a316583-d703-4cab-a53f-ea96cadf4bf4",
  "Message": "Flowsheet errorStat: 1"
}
boverhof commented 2 years ago

Need to Update FOQUS

2022-01-19 17:57:53,399 - INFO - foqus.foqus_lib.framework.graph.node - Job failed, stopping consumer for NGCC_EEMPA_Combine_basemodel_Final_Revised 2022-01-19 17:57:53,414 - INFO - foqus.foqus_lib.framework.sim.turbineConfiguration - Terminating Consumer {6788B0B9-F970-4FAB-9D28-B24111970B9E} posting to http://localhost:8000/TurbineLite/Consumer/{6788B0B9-F970-4FAB-9D28-B24111970B9E}/stop 2022-01-19 17:57:55,446 - DEBUG - foqus.foqus_lib.framework.sim.process_management - Found Process: [] 2022-01-19 17:57:55,446 - INFO - foqus.foqus_lib.framework.graph.node - Job 1 Failed will not retry 2022-01-19 17:57:55,446 - DEBUG - foqus.foqus_lib.framework.graph.node - Job 1 Results: {"Id": 1, "Guid": "c1def696-fa44-476d-b219-925eeba9d70f", "Simulation": "NGCC_EEMPA_Combine_basemodel_Final_Revised", "State": "error", "Messages": ["event=setup,consumer=6788b0b9-f970-4fab-9d28-b24111970b9e", "working directory setup finished", "sinter read setup finished", "event=running,consumer=6788b0b9-f970-4fab-9d28-b24111970b9e", "Warm-up inputs sent, running simulation", "Warm-up complete and failed. Reseting Sim for real run.", "sinter inputs sent, running simulation", "Real Run failed, runStatus=si_SIMULATION_ERROR", "event=error,consumer=6788b0b9-f970-4fab-9d28-b24111970b9e,msg=\"Error: si_SIMULATION_ERROR: Convergence Block $OLVER01 has Errors:\r\nConvergence Block $OLVER02 has Errors:\r\nConvergence Block $OLVER03 has Errors:\r\n\""], "Input": {"ABSDIAM": 12.6, "ABSHEIGHT": 21.6, "CO2LEANLOADING": 0.08, "FFEDWATERFLOW": 478535.935, "FUELGASFLOW": 93272.0, "NTRAINS": 3.0, "NTRAINSINV": 0.3333, "RICHSOLVENTTEMP": 87.5, "STRDIAM": 3.7, "STRHEIGHT": 12.0}, "Output": null, "Errors": [], "Status": 1, "Session": "4ff753bd-1e17-488e-98e9-30c572309e03", "Initialize": true, "Reset": false, "Visible": true, "Consumer": "6788b0b9-f970-4fab-9d28-b24111970b9e", "Create": "2022-01-19T17:53:19.1330000", "Submit": "2022-01-19T17:53:19.3230000", "Setup": "2022-01-19T17:53:23.3370000", "Running": "2022-01-19T17:57:44.0100000", "Finished": "2022-01-19T17:57:52.1970000"} 2022-01-19 17:57:55,446 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration application url="http://localhost:8000/TurbineLite/application/" 2022-01-19 17:57:55,446 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration url="http://localhost:8000/TurbineLite" 2022-01-19 17:57:55,446 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status

boverhof commented 2 years ago

Update FOQUS fails

boverhof commented 2 years ago

ERROR missing pyutillib

2022-01-19 18:47:57,860 - INFO - foqus.foqus_lib.framework.sim.turbineConfiguration - Terminating Consumer {E633B63D-494E-412A-A138-2E9BDEEB9F28} posting to http://localhost:8000/TurbineLite/Consumer/{E633B63D-494E-412A-A138-2E9BDEEB9F28}/stop 2022-01-19 18:48:02,890 - DEBUG - foqus.foqus_lib.framework.sim.process_management - Found Process: [] 2022-01-19 18:48:02,890 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - Stopped all running consumers 2022-01-19 18:48:02,890 - DEBUG - foqus.foqus_lib.framework.sim.process_management - Found Process: []

boverhof commented 2 years ago

Error no module idaes

Traceback (most recent call last):
  File "c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\node.py", line 638, in runPython
    exec(self.pythonCode)
  File "<string>", line 53, in <module>
ModuleNotFoundError: No module named 'idaes'
2022-01-19 19:26:35,316 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 19:26:35,331 - DEBUG - foqus.foqus_lib.framework.graph.nodeVars - Cannot load variable node not in flowsheet, node: NGCC_EEMPA_Model not in []
2022-01-19 19:26:35,331 - ERROR - foqus.foqus_lib.service.flowsheet - run_foqus: 2 - Node does not exist, NGCC_EEMPA_Model
line: 95 file: C:\Users\Administrator\Desktop\FOQUS\cloud\aws\foqus_service.py 
   self._flowsheet_ctrl.run()
line: 682 file: c:\users\administrator\desktop\foqus\foqus_lib\service\flowsheet.py 
   self.run_foqus(db, job_desc)
line: 955 file: c:\users\administrator\desktop\foqus\foqus_lib\service\flowsheet.py 
   dat.flowsheet.loadValues(gt.res[0])
line: 393 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\graph.py 
   self.input_vectorlist.loadValues(o)
line: 412 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\nodeVars.py 
   raise NodeVarListEx(2, msg=node)
Traceback (most recent call last):
  File "c:\users\administrator\desktop\foqus\foqus_lib\service\flowsheet.py", line 682, in run
    self.run_foqus(db, job_desc)
  File "c:\users\administrator\desktop\foqus\foqus_lib\service\flowsheet.py", line 955, in run_foqus
    dat.flowsheet.loadValues(gt.res[0])
  File "c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\graph.py", line 393, in loadValues
    self.input_vectorlist.loadValues(o)
  File "c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\nodeVars.py", line 412, in loadValues
    raise NodeVarListEx(2, msg=node)
foqus_lib.framework.graph.nodeVars.NodeVarListEx: 2 - Node does not exist, NGCC_EEMPA_Model
line: 95 file: C:\Users\Administrator\Desktop\FOQUS\cloud\aws\foqus_service.py 
   self._flowsheet_ctrl.run()
line: 682 file: c:\users\administrator\desktop\foqus\foqus_lib\service\flowsheet.py 
   self.run_foqus(db, job_desc)
line: 955 file: c:\users\administrator\desktop\foqus\foqus_lib\service\flowsheet.py 
   dat.flowsheet.loadValues(gt.res[0])
line: 393 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\graph.py 
   self.input_vectorlist.loadValues(o)
line: 412 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\nodeVars.py 
   raise NodeVarListEx(2, msg=node)
boverhof commented 2 years ago

pip install idaes-pse Fails

  ERROR: Command errored out with exit status 1:
   command: 'C:\ProgramData\Anaconda3\envs\foqus\python.exe' 'C:\ProgramData\Anaconda3\envs\foqus\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\ADMINI~1\AppData\Local\Temp\2\tmp60xs47__'
       cwd: C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-install-wswj3jt2\argon2-cffi-bindings
  Complete output (12 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.7
  creating build\lib.win-amd64-3.7\_argon2_cffi_bindings
  copying src\_argon2_cffi_bindings\_ffi_build.py -> build\lib.win-amd64-3.7\_argon2_cffi_bindings
  copying src\_argon2_cffi_bindings\__init__.py -> build\lib.win-amd64-3.7\_argon2_cffi_bindings
  running build_ext
  creating build\temp.win-amd64-3.7
  creating build\temp.win-amd64-3.7\Release
  error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
boverhof commented 2 years ago

Visual C++ Build Tools Options

boverhof commented 2 years ago

Attempt the basic C++ Desktop

boverhof commented 2 years ago

Remaining some issues with idaes-pse

(base) C:\Users\Administrator>conda activate foqus

(foqus) C:\Users\Administrator>python
Python 3.7.5 (default, Oct 31 2019, 15:18:51) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import fobus_lib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'fobus_lib'
>>> import foqus_lib
>>> import idaes
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'idaes'
>>> import idaes_pse
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'idaes_pse'
>>> import idaes-pse
  File "<stdin>", line 1
    import idaes-pse
                ^
SyntaxError: invalid syntax
>>> exit()

(foqus) C:\Users\Administrator>pip install idaes-pse
Collecting idaes-pse
  Using cached https://files.pythonhosted.org/packages/11/a6/35d4724d4b9335878036ca5dff76b9447a54df0d8ab6825d6e018eb723b5/idaes_pse-1.12.0-py3-none-any.whl
Requirement already satisfied: pytest in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from idaes-pse) (5.2.2)
Requirement already satisfied: pandas in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from idaes-pse) (0.25.3)
Requirement already satisfied: requests in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from idaes-pse) (2.22.0)
Collecting nbconvert
  Using cached https://files.pythonhosted.org/packages/80/c8/2bce5194d3d4d37db9f00c67e41ed771bf1c77a079794a2d94ca61027fe2/nbconvert-6.4.0-py3-none-any.whl
Collecting rbfopt
  Using cached https://files.pythonhosted.org/packages/d3/5e/d0cc4b26d73bbcd691e37b185b340ca89a88f9bea5ed0ec7a3a803177143/rbfopt-4.2.2-py2.py3-none-any.whl
Requirement already satisfied: psutil in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from idaes-pse) (5.6.5)
Collecting nbformat
  Using cached https://files.pythonhosted.org/packages/e7/c7/dd50978c637a7af8234909277c4e7ec1b71310c13fb3135f3c8f5b6e045f/nbformat-5.1.3-py3-none-any.whl
Collecting tinydb
  Using cached https://files.pythonhosted.org/packages/78/c0/60966b98a713b13a45f622607b57c08a83b9e491ff26a6595d47a442bac2/tinydb-4.6.1-py3-none-any.whl
Requirement already satisfied: colorama in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from idaes-pse) (0.4.1)
Collecting flask-cors
  Using cached https://files.pythonhosted.org/packages/db/84/901e700de86604b1c4ef4b57110d4e947c218b9997adf5d38fa7da493bce/Flask_Cors-3.0.10-py2.py3-none-any.whl
Requirement already satisfied: pyomo>=6.2 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from idaes-pse) (6.2)
Requirement already satisfied: numpy in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from idaes-pse) (1.17.3)
Collecting omlt==0.3
  Using cached https://files.pythonhosted.org/packages/39/3a/218b56d845e00ef9cfa92078199ec22a3a74a061f019bdf90d34cd5e34b1/omlt-0.3.0-py2.py3-none-any.whl
Collecting pyyaml
  Using cached https://files.pythonhosted.org/packages/d1/c0/4fe04181b0210ee2647cfbb89ecd10a36eef89f10d8aca6a192c201bbe58/PyYAML-6.0-cp37-cp37m-win_amd64.whl
Collecting backports.shutil-get-terminal-size
  Using cached https://files.pythonhosted.org/packages/7d/cd/1750d6c35fe86d35f8562091737907f234b78fdffab42b29c72b1dd861f4/backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Collecting jupyter
  Using cached https://files.pythonhosted.org/packages/83/df/0f5dd132200728a86190397e1ea87cd76244e42d39ec5e88efd25b2abd7e/jupyter-1.0.0-py2.py3-none-any.whl
Requirement already satisfied: scipy in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from idaes-pse) (1.3.2)
Collecting lxml
  Using cached https://files.pythonhosted.org/packages/1d/b2/3ede6607742c5667f5bbf43abf159ff27d29a3dbda3e0a15b1aefd2b5377/lxml-4.7.1-cp37-cp37m-win_amd64.whl
Requirement already satisfied: matplotlib in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from idaes-pse) (3.1.1)
Collecting click<=7.1.2
  Using cached https://files.pythonhosted.org/packages/d2/3d/fa76db83bf75c4f8d338c2fd15c8d33fdd7ad23a9b5e57eb6c5de26b430e/click-7.1.2-py2.py3-none-any.whl
Processing c:\users\administrator\appdata\local\pip\cache\wheels\56\0f\19\fbbf81e5764e6d8b74501c4357a88c14c94466ec777c03734c\bunch-1.0.1-cp37-none-any.whl
Collecting flask
  Using cached https://files.pythonhosted.org/packages/8f/b6/b4fdcb6d01ee20f9cfe81dcf9d3cd6c2f874b996f186f1c0b898c4a59c04/Flask-2.0.2-py3-none-any.whl
Collecting sympy
  Using cached https://files.pythonhosted.org/packages/78/43/33c5a5e7fbafbf51520f4e09cb0634a1ca1d4cd5469c57967e43183d7a42/sympy-1.9-py3-none-any.whl
Requirement already satisfied: networkx in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from idaes-pse) (2.6.3)
Collecting pint
  Using cached https://files.pythonhosted.org/packages/0a/98/98b3c6d954b6bd8531c611fb24be53ccc66438f493b05ec4b107942e27b7/Pint-0.18-py2.py3-none-any.whl
Collecting python-slugify
  Using cached https://files.pythonhosted.org/packages/7e/e2/0c8be1e3b237d11f10963c7cef82e4d98d70ca6e176f3922dddf7bfc7026/python_slugify-5.0.2-py2.py3-none-any.whl
Requirement already satisfied: wcwidth in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pytest->idaes-pse) (0.1.7)
Requirement already satisfied: atomicwrites>=1.0 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pytest->idaes-pse) (1.3.0)
Requirement already satisfied: attrs>=17.4.0 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pytest->idaes-pse) (19.3.0)
Requirement already satisfied: importlib-metadata>=0.12; python_version < "3.8" in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pytest->idaes-pse) (0.23)
Requirement already satisfied: py>=1.5.0 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pytest->idaes-pse) (1.8.0)
Requirement already satisfied: pluggy<1.0,>=0.12 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pytest->idaes-pse) (0.13.0)
Requirement already satisfied: packaging in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pytest->idaes-pse) (21.3)
Requirement already satisfied: more-itertools>=4.0.0 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pytest->idaes-pse) (7.2.0)
Requirement already satisfied: python-dateutil>=2.6.1 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pandas->idaes-pse) (2.8.1)
Requirement already satisfied: pytz>=2017.2 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pandas->idaes-pse) (2019.3)
Requirement already satisfied: certifi>=2017.4.17 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from requests->idaes-pse) (2019.9.11)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from requests->idaes-pse) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from requests->idaes-pse) (1.25.7)
Requirement already satisfied: idna<2.9,>=2.5 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from requests->idaes-pse) (2.8)
Requirement already satisfied: jinja2>=2.4 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from nbconvert->idaes-pse) (2.10.3)
Collecting testpath
  Using cached https://files.pythonhosted.org/packages/ac/87/5422f6d056bfbded920ccf380a65de3713a3b95a95ba2255be2a3fb4f464/testpath-0.5.0-py3-none-any.whl
Collecting nbclient<0.6.0,>=0.5.0
  Using cached https://files.pythonhosted.org/packages/9a/b0/1cbebe1a3d71bf283c2eaba5c37e9b7e1bee82fb0682fcb8d6bcaecdbcfa/nbclient-0.5.10-py3-none-any.whl
Collecting traitlets>=5.0
  Using cached https://files.pythonhosted.org/packages/37/46/be8a3c030bd3673f4800fa7f46eda972dfa2990089a51ec5dd0a26ed33e9/traitlets-5.1.1-py3-none-any.whl
Collecting jupyter-core
  Using cached https://files.pythonhosted.org/packages/d5/8e/fad835e31e3f54ea39d2b76027348a347433dcbc674a841ffe0716091c2d/jupyter_core-4.9.1-py3-none-any.whl
Collecting jupyterlab-pygments
  Using cached https://files.pythonhosted.org/packages/a8/6f/c34288766797193b512c6508f5994b830fb06134fdc4ca8214daba0aa443/jupyterlab_pygments-0.1.2-py2.py3-none-any.whl
Requirement already satisfied: pygments>=2.4.1 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from nbconvert->idaes-pse) (2.4.2)
Collecting bleach
  Using cached https://files.pythonhosted.org/packages/64/cc/74d634e1e5659742973a23bb441404c53a7bedb6cd3962109ca5efb703e8/bleach-4.1.0-py2.py3-none-any.whl
Collecting pandocfilters>=1.4.1
  Using cached https://files.pythonhosted.org/packages/5e/a8/878258cffd53202a6cc1903c226cf09e58ae3df6b09f8ddfa98033286637/pandocfilters-1.5.0-py2.py3-none-any.whl
Collecting entrypoints>=0.2.2
  Using cached https://files.pythonhosted.org/packages/ac/c6/44694103f8c221443ee6b0041f69e2740d89a25641e62fb4f2ee568f2f9c/entrypoints-0.3-py2.py3-none-any.whl
Collecting mistune<2,>=0.8.1
  Using cached https://files.pythonhosted.org/packages/09/ec/4b43dae793655b7d8a25f76119624350b4d65eb663459eb9603d7f1f0345/mistune-0.8.4-py2.py3-none-any.whl
Collecting defusedxml
  Using cached https://files.pythonhosted.org/packages/07/6c/aa3f2f849e01cb6a001cd8554a88d4c77c5c1a31c95bdf1cf9301e6d9ef4/defusedxml-0.7.1-py2.py3-none-any.whl
Collecting ipython-genutils
  Using cached https://files.pythonhosted.org/packages/fa/bc/9bd3b5c2b4774d5f33b2d544f1460be9df7df2fe42f352135381c347c69a/ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting jsonschema!=2.5.0,>=2.4
  Using cached https://files.pythonhosted.org/packages/55/b2/2c4af6a97c3f12c6d5a72b41d328c3996e14e1e46701df3fac1ed65119c9/jsonschema-4.4.0-py3-none-any.whl
Collecting typing-extensions<5.0.0,>=3.10.0; python_version <= "3.7"
  Using cached https://files.pythonhosted.org/packages/05/e4/baf0031e39cf545f0c9edd5b1a2ea12609b7fcba2d58e118b11753d68cf0/typing_extensions-4.0.1-py3-none-any.whl
Requirement already satisfied: Six in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from flask-cors->idaes-pse) (1.13.0)
Requirement already satisfied: ply in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from pyomo>=6.2->idaes-pse) (3.11)
Collecting ipywidgets
  Using cached https://files.pythonhosted.org/packages/6b/bb/285066ddd710779cb69f03d42fa72fbfe4352b4895eb6abab551eae1535a/ipywidgets-7.6.5-py2.py3-none-any.whl
Collecting notebook
  Using cached https://files.pythonhosted.org/packages/09/fc/137105c552ee5440fe961194048f0d4b89d1f9da035e0d0077ec8c2896e2/notebook-6.4.7-py3-none-any.whl
Collecting qtconsole
  Using cached https://files.pythonhosted.org/packages/67/17/d12ae86393682eaa65741808aa5207dfe85b8504874d09f1bbd1feebdc2a/qtconsole-5.2.2-py3-none-any.whl
Collecting jupyter-console
  Using cached https://files.pythonhosted.org/packages/59/cd/aa2670ffc99eb3e5bbe2294c71e4bf46a9804af4f378d09d7a8950996c9b/jupyter_console-6.4.0-py3-none-any.whl
Collecting ipykernel
  Using cached https://files.pythonhosted.org/packages/6d/bc/e43ca755f7e53907232d07dbd09343488128f561aaa9a7567ab96306a6ea/ipykernel-6.7.0-py3-none-any.whl
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from matplotlib->idaes-pse) (2.4.5)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from matplotlib->idaes-pse) (1.1.0)
Requirement already satisfied: cycler>=0.10 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from matplotlib->idaes-pse) (0.10.0)
Collecting Werkzeug>=2.0
  Using cached https://files.pythonhosted.org/packages/1e/73/51137805d1b8d97367a8a77cae4a792af14bb7ce58fbd071af294c740cf0/Werkzeug-2.0.2-py3-none-any.whl
Collecting itsdangerous>=2.0
  Using cached https://files.pythonhosted.org/packages/9c/96/26f935afba9cd6140216da5add223a0c465b99d0f112b68a4ca426441019/itsdangerous-2.0.1-py3-none-any.whl
Collecting mpmath>=0.19
  Using cached https://files.pythonhosted.org/packages/d4/cf/3965bddbb4f1a61c49aacae0e78fd1fe36b5dc36c797b31f30cf07dcbbb7/mpmath-1.2.1-py3-none-any.whl
Collecting text-unidecode>=1.3
  Using cached https://files.pythonhosted.org/packages/a6/a5/c0b6468d3824fe3fde30dbb5e1f687b291608f9473681bbf7dabbf5a87d7/text_unidecode-1.3-py2.py3-none-any.whl
Requirement already satisfied: zipp>=0.5 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from importlib-metadata>=0.12; python_version < "3.8"->pytest->idaes-pse) (0.6.0)
Requirement already satisfied: MarkupSafe>=0.23 in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from jinja2>=2.4->nbconvert->idaes-pse) (1.1.1)
Collecting jupyter-client>=6.1.5
  Using cached https://files.pythonhosted.org/packages/26/04/64e2be4216c38af315207216653ce82fbd5e73e85c5cad9c60dddc5315f1/jupyter_client-7.1.1-py3-none-any.whl
Collecting nest-asyncio
  Using cached https://files.pythonhosted.org/packages/06/e0/93453ebab12f5ce9a9ceda2ff71648b30e5f2ce5bba19ee3c95cbd0aaa67/nest_asyncio-1.5.4-py3-none-any.whl
Requirement already satisfied: pywin32>=1.0; sys_platform == "win32" and platform_python_implementation != "PyPy" in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from jupyter-core->nbconvert->idaes-pse) (225)
Collecting webencodings
  Using cached https://files.pythonhosted.org/packages/f4/24/2a3e3df732393fed8b3ebf2ec078f05546de641fe1b667ee316ec1dcf3b7/webencodings-0.5.1-py2.py3-none-any.whl
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
  Using cached https://files.pythonhosted.org/packages/3f/4f/721b1101d32569e255d6b11709196dbdd9e122a2aaea676d59d7b5f21971/pyrsistent-0.18.1-cp37-cp37m-win_amd64.whl
Collecting importlib-resources>=1.4.0; python_version < "3.9"
  Using cached https://files.pythonhosted.org/packages/24/1b/33e489669a94da3ef4562938cd306e8fa915e13939d7b8277cb5569cb405/importlib_resources-5.4.0-py3-none-any.whl
Collecting widgetsnbextension~=3.5.0
  Using cached https://files.pythonhosted.org/packages/d7/31/7c1107fa30c621cd1d36410e9bbab86f6a518dc208aaec01f02ac6d5c2d2/widgetsnbextension-3.5.2-py2.py3-none-any.whl
Collecting ipython>=4.0.0; python_version >= "3.3"
  Using cached https://files.pythonhosted.org/packages/b8/b4/4d6c2753effd9c4e0d93fad9a3827760eaecec8331fe550f5d49e22cce89/ipython-7.31.1-py3-none-any.whl
Collecting jupyterlab-widgets>=1.0.0; python_version >= "3.6"
  Using cached https://files.pythonhosted.org/packages/18/4d/22a93473bca99c80f2d23f867ebbfee2f6c8e186bf678864eec641500910/jupyterlab_widgets-1.0.2-py3-none-any.whl
Collecting terminado>=0.8.3
  Using cached https://files.pythonhosted.org/packages/cb/17/b1162b39786c44e14d30ee557fbf41276c4a966dab01106c15fb70f5c27a/terminado-0.12.1-py3-none-any.whl
Collecting tornado>=6.1
  Using cached https://files.pythonhosted.org/packages/c7/c2/ff4628a08df5ce2662109957275718888d7ab6787591fa0decfd327bd2ce/tornado-6.1-cp37-cp37m-win_amd64.whl
Collecting argon2-cffi
  Using cached https://files.pythonhosted.org/packages/a8/07/946d5a9431bae05a776a59746ec385fbb79b526738d25e4202d3e0bbf7f4/argon2_cffi-21.3.0-py3-none-any.whl
Collecting Send2Trash>=1.8.0
  Using cached https://files.pythonhosted.org/packages/47/26/3435896d757335ea53dce5abf8d658ca80757a7a06258451b358f10232be/Send2Trash-1.8.0-py3-none-any.whl
Collecting pyzmq>=17
  Using cached https://files.pythonhosted.org/packages/45/1a/e923b5dd29459a70a3573c3b3bd87d2e7a14f7236a999a52f4a603f8fe01/pyzmq-22.3.0-cp37-cp37m-win_amd64.whl
Collecting prometheus-client
  Using cached https://files.pythonhosted.org/packages/df/6c/6c5f9404977f8f9caa30c1a408f6cc5ea6e0c1949761f24d0a33239b49c5/prometheus_client-0.12.0-py2.py3-none-any.whl
Collecting qtpy
  Using cached https://files.pythonhosted.org/packages/66/da/b1f7184b82eed20a76066aa0c8482eeababc816012836e47f24090c9f655/QtPy-2.0.0-py3-none-any.whl
Collecting prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0
  Using cached https://files.pythonhosted.org/packages/fb/37/4f9ae5a6cd0ebdfc1fbafcfd03e812df1ed92a92bf0bee09441c52164f58/prompt_toolkit-3.0.24-py3-none-any.whl
Collecting debugpy<2.0,>=1.0.0
  Using cached https://files.pythonhosted.org/packages/d6/a1/d5ac912cfb945514e9144ecef8f4489ab693ab9bd7772b4a8d4e7ed57adf/debugpy-1.5.1-cp37-cp37m-win_amd64.whl
Collecting matplotlib-inline<0.2.0,>=0.1.0
  Using cached https://files.pythonhosted.org/packages/a6/2d/2230afd570c70074e80fd06857ba2bdc5f10c055bd9125665fe276fadb67/matplotlib_inline-0.1.3-py3-none-any.whl
Requirement already satisfied: setuptools in c:\programdata\anaconda3\envs\foqus\lib\site-packages (from kiwisolver>=1.0.1->matplotlib->idaes-pse) (41.6.0.post20191030)
Collecting decorator
  Using cached https://files.pythonhosted.org/packages/d5/50/83c593b07763e1161326b3b8c6686f0f4b0f24d5526546bee538c89837d6/decorator-5.1.1-py3-none-any.whl
Collecting jedi>=0.16
  Using cached https://files.pythonhosted.org/packages/b3/0e/836f12ec50075161e365131f13f5758451645af75c2becf61c6351ecec39/jedi-0.18.1-py2.py3-none-any.whl
Collecting backcall
  Using cached https://files.pythonhosted.org/packages/4c/1c/ff6546b6c12603d8dd1070aa3c3d273ad4c07f5771689a7b69a550e8c951/backcall-0.2.0-py2.py3-none-any.whl
Collecting pickleshare
  Using cached https://files.pythonhosted.org/packages/9a/41/220f49aaea88bc6fa6cba8d05ecf24676326156c23b991e80b3f2fc24c77/pickleshare-0.7.5-py2.py3-none-any.whl
Collecting pywinpty>=1.1.0; os_name == "nt"
  Using cached https://files.pythonhosted.org/packages/31/54/b05c103bfd9f67e70c5d775b50f99ad550a7cdf603396eb3cef65321bb49/pywinpty-1.1.6-cp37-none-win_amd64.whl
Collecting argon2-cffi-bindings
  Using cached https://files.pythonhosted.org/packages/b9/e9/184b8ccce6683b0aa2fbb7ba5683ea4b9c5763f1356347f1312c32e3c66e/argon2-cffi-bindings-21.2.0.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting parso<0.9.0,>=0.8.0
  Using cached https://files.pythonhosted.org/packages/05/63/8011bd08a4111858f79d2b09aad86638490d62fbf881c44e434a6dfca87b/parso-0.8.3-py2.py3-none-any.whl
Collecting cffi>=1.0.1
  Using cached https://files.pythonhosted.org/packages/51/1a/d3f1a0ec3bf66deca2e63f1f66c9b1ed8c43aa38b064ba86cbfcffa9ab3a/cffi-1.15.0-cp37-cp37m-win_amd64.whl
Collecting pycparser
  Using cached https://files.pythonhosted.org/packages/62/d5/5f610ebe421e85889f2e55e33b7f9a6795bd982198517d912eb1c76e1a53/pycparser-2.21-py2.py3-none-any.whl
Building wheels for collected packages: argon2-cffi-bindings
  Building wheel for argon2-cffi-bindings (PEP 517) ... done
  Created wheel for argon2-cffi-bindings: filename=argon2_cffi_bindings-21.2.0-cp37-abi3-win_amd64.whl size=27772 sha256=9eff4e72c7a44a7d15035b31aab983111333c49ca7c562e0702ad54e5e219543
  Stored in directory: C:\Users\Administrator\AppData\Local\pip\Cache\wheels\26\f9\3c\bbbffbf3f8fbe065773fdfba1a9ae8a40d317b03e9feffc93e
Successfully built argon2-cffi-bindings
ERROR: importlib-resources 5.4.0 has requirement zipp>=3.1.0; python_version < "3.10", but you'll have zipp 0.6.0 which is incompatible.
ERROR: flask 2.0.2 has requirement Jinja2>=3.0, but you'll have jinja2 2.10.3 which is incompatible.
Installing collected packages: testpath, traitlets, nest-asyncio, jupyter-core, entrypoints, pyzmq, tornado, jupyter-client, ipython-genutils, pyrsistent, typing-extensions, importlib-resources, jsonschema, nbformat, nbclient, jupyterlab-pygments, webencodings, bleach, pandocfilters, mistune, defusedxml, nbconvert, rbfopt, tinydb, Werkzeug, itsdangerous, click, flask, flask-cors, omlt, pyyaml, backports.shutil-get-terminal-size, prompt-toolkit, decorator, matplotlib-inline, parso, jedi, backcall, pickleshare, ipython, debugpy, ipykernel, pywinpty, terminado, pycparser, cffi, argon2-cffi-bindings, argon2-cffi, Send2Trash, prometheus-client, notebook, widgetsnbextension, jupyterlab-widgets, ipywidgets, qtpy, qtconsole, jupyter-console, jupyter, lxml, bunch, mpmath, sympy, pint, text-unidecode, python-slugify, idaes-pse
Successfully installed Send2Trash-1.8.0 Werkzeug-2.0.2 argon2-cffi-21.3.0 argon2-cffi-bindings-21.2.0 backcall-0.2.0 backports.shutil-get-terminal-size-1.0.0 bleach-4.1.0 bunch-1.0.1 cffi-1.15.0 click-7.1.2 debugpy-1.5.1 decorator-5.1.1 defusedxml-0.7.1 entrypoints-0.3 flask-2.0.2 flask-cors-3.0.10 idaes-pse-1.12.0 importlib-resources-5.4.0 ipykernel-6.7.0 ipython-7.31.1 ipython-genutils-0.2.0 ipywidgets-7.6.5 itsdangerous-2.0.1 jedi-0.18.1 jsonschema-4.4.0 jupyter-1.0.0 jupyter-client-7.1.1 jupyter-console-6.4.0 jupyter-core-4.9.1 jupyterlab-pygments-0.1.2 jupyterlab-widgets-1.0.2 lxml-4.7.1 matplotlib-inline-0.1.3 mistune-0.8.4 mpmath-1.2.1 nbclient-0.5.10 nbconvert-6.4.0 nbformat-5.1.3 nest-asyncio-1.5.4 notebook-6.4.7 omlt-0.3.0 pandocfilters-1.5.0 parso-0.8.3 pickleshare-0.7.5 pint-0.18 prometheus-client-0.12.0 prompt-toolkit-3.0.24 pycparser-2.21 pyrsistent-0.18.1 python-slugify-5.0.2 pywinpty-1.1.6 pyyaml-6.0 pyzmq-22.3.0 qtconsole-5.2.2 qtpy-2.0.0 rbfopt-4.2.2 sympy-1.9 terminado-0.12.1 testpath-0.5.0 text-unidecode-1.3 tinydb-4.6.1 tornado-6.1 traitlets-5.1.1 typing-extensions-4.0.1 webencodings-0.5.1 widgetsnbextension-3.5.2
boverhof commented 2 years ago

Missing python module in FOQUS node code

2022-01-19 21:02:56,802 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration application url="http://localhost:8000/TurbineLite/application/"
2022-01-19 21:02:56,802 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration url="http://localhost:8000/TurbineLite"
2022-01-19 21:02:59,130 - ERROR - foqus.foqus_lib.framework.graph.node - Error in node python code
Traceback (most recent call last):
  File "c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\node.py", line 638, in runPython
    exec(self.pythonCode)
  File "<string>", line 66, in <module>
ModuleNotFoundError: No module named 'EEMPA_NGCC_integrated_system_cost_module_final_revised'
2022-01-19 21:02:59,146 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2022-01-19 21:02:59,146 - DEBUG - foqus.foqus_lib.framework.graph.nodeVars - Cannot load variable node not in flowsheet, node: NGCC_EEMPA_Model not in []
2022-01-19 21:02:59,146 - ERROR - foqus.foqus_lib.service.flowsheet - run_foqus: 2 - Node does not exist, NGCC_EEMPA_Model
line: 95 file: C:\Users\Administrator\Desktop\FOQUS\cloud\aws\foqus_service.py 
   self._flowsheet_ctrl.run()
line: 682 file: c:\users\administrator\desktop\foqus\foqus_lib\service\flowsheet.py 
   self.run_foqus(db, job_desc)
line: 955 file: c:\users\administrator\desktop\foqus\foqus_lib\service\flowsheet.py 
   dat.flowsheet.loadValues(gt.res[0])
line: 393 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\graph.py 
   self.input_vectorlist.loadValues(o)
line: 412 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\nodeVars.py 
   raise NodeVarListEx(2, msg=node)
Traceback (most recent call last):
  File "c:\users\administrator\desktop\foqus\foqus_lib\service\flowsheet.py", line 682, in run
    self.run_foqus(db, job_desc)
  File "c:\users\administrator\desktop\foqus\foqus_lib\service\flowsheet.py", line 955, in run_foqus
    dat.flowsheet.loadValues(gt.res[0])
lbianchi-lbl commented 2 years ago

We should look into increasing isolation between the Python code being run in a flowsheet node and the main FOQUS process, so that the node code can run in its own dedicated environment instead of sharing it (and all of its dependencies) with those of FOQUS.

ksbeattie commented 2 years ago

@boverhof is this still an issue?

lbianchi-lbl commented 1 year ago

Updates:

boverhof commented 1 month ago

no plans to pursue at this time.