Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOQUS Cloud: User Plugin Missing License not Identified #1121

Open
boverhof opened this issue Mar 10, 2023 · 3 comments
Open

FOQUS Cloud: User Plugin Missing License not Identified #1121

boverhof opened this issue Mar 10, 2023 · 3 comments
Assignees
Labels
FOQUS Cloud Issues specific to FOQUS Cloud. Priority:Normal Normal Priority Issue or PR

Comments

@boverhof
Copy link
Member

boverhof commented Mar 10, 2023

Description

  • Run a LowConcentration
  • Aspen License server is misconfigured
  • Job completes as success
  • Bug identifying the failure on the Backend.

Front End

  • receives a success job
2023-03-10 18:26:16,926 - DEBUG - turbine.commands.turbine_session_result_script - Result Page Number 1
2023-03-10 18:26:16,926 - DEBUG - foqus.foqus_lib.framework.graph.graph - Turbine Result Generator Page: 1 0
2023-03-10 18:26:16,926 - DEBUG - foqus.foqus_lib.framework.graph.graph - New results page 1 from 00000000-0000-0000-0000-000000000000
2023-03-10 18:26:16,926 - DEBUG - turbine.commands.requests_base - kw {'rpp': 2000}
2023-03-10 18:26:16,926 - DEBUG - turbine.commands.requests_base - read_configuration signed_url: "None"
2023-03-10 18:26:16,926 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - GET Session Results from URL: https://c1tsf1vb9a.execute-api.us-west-2.amazonaws.com/prod/session/37521c28-4c20-4e47-96ad-57c923cd10ca/result/00000000-0000-0000-0000-000000000000/1
2023-03-10 18:26:16,926 - DEBUG - turbine.commands.requests_base - _get_page url: "https://c1tsf1vb9a.execute-api.us-west-2.amazonaws.com/prod/session/37521c28-4c20-4e47-96ad-57c923cd10ca/result/00000000-0000-0000-0000-000000000000/1"
2023-03-10 18:26:18,692 - DEBUG - foqus.foqus_lib.framework.graph.graph - Turbine Result Generator Results LEN: 1

2023-03-10 18:26:19,161 - DEBUG - foqus.foqus_lib.gui.main.mainWindow - stopSim SingleRun: 
{
    'solTime': 0, 
    'input': {
    'graph': {}, 
    'CCSI_MEAModel': {'ABSDIAM': 1, 'ABSPACKHT': 30, 'STRDIAM': 1, 'STRPACKHT': 25, 'CO2LEANLOADING': 0.2, 'LEANRICHHXAREASPEC': 80, 'LEANSOLVENTTEMP': 40, 'FLUEGASINTEMP': 40, 'STRPRESSURE': 185, 'FLUEGASINFLOW': 2000, 'FLUEGASFRACCO2': 0.05, 'FLUEGASFRACO2': 0.084, 'FLUEGASFRACH2O': 0.086, 'FLUEGASFRACN2': 0.78}, 
    'CCS_costing': {'Absorber.Volume': 0, 'Absorber.Packing_Volume': 0, 'Stripper.Volume': 0, 'Stripper.Packing_Volume': 0, 'Condenser.Area': 0, 'Stripper.Reboiler_Area': 0, 'LeanRichHX.Area': 0, 'LeanSolventCooler.Area': 0, 'CO2Product.Flow': 0, 'FlueGas.Flow': 0, 'NetPlantPower': 650, 'Utilities.Water': 0, 'Utilities.Steam': 0, 'Utilities.Solvent': 0, 'Utilities.Electricity': 0, 'CE_Index.Year': 2018}
}, 
'output': {
  'graph': {'error': 0}, 
  'CCSI_MEAModel': {'ABSVOLUME': 0, 'ABSPACKVOL': 0, 'STRVOLUME': 0, 'STRPACKVOL': 0, 'CONDENSERAREA': 0, 'STRREBAREA': 0, 'LEANRICHHXAREA': 0, 'COOLERAREA': 0, 'CO2PRODFLOW': 0, 'FLUEGASFLOW': 0, 'RATEWATER': 0, 'RATESTEAM': 0, 'RATEMEA': 0, 'RATEELECTRICITY': 0, 'CO2FRACCAP': 0, 'ABSFRACFLOOD': 0, 'STRFRACFLOOD': 0, 'LEANSOLVFLOW': 5796.48792, 'QREB': 347712.253, 'SRD': 3.35810066, 'status': 0}, 
  'CCS_costing': {'Absorber.Total_Plant_Cost': 1.3886593705269759, 'Absorber.Packing.Total_Plant_Cost': 1.203395894325608, 'Stripper.Total_Plant_Cost': 0.20634864588003515, 'Stripper.Packing.Total_Plant_Cost': 0.15770819055219565, 'Stripper.Condenser.Total_Plant_Cost': 0.00894523073157076, 'Stripper.Reboiler.Total_Plant_Cost': 0.042815990775907316, 'LeanRichHX.Total_Plant_Cost': 0.11411726654844366, 'LeanSolventCooler.Total_Plant_Cost': 0.031603827573924874, 'FlueGasBlower1.Total_Plant_Cost': 0, 'FlueGasBlower2.Total_Plant_Cost': 0.016680830876214244, 'FlueGasDirectContactCooler1.Total_Plant_Cost': 0.05906082360728565, 'FlueGasDirectContactCooler2.Total_Plant_Cost': 0, 'FlueGasDirectContactCooler1.Packing.Total_Plant_Cost': 0.07328818635677407, 'FlueGasDirectContactCooler2.Packing.Total_Plant_Cost': 0.03868227160087614, 'PretreatmentPump1.Total_Plant_Cost': 0.007862035923562593, 'PretreatmentPump2.Total_Plant_Cost': 0, 'PretreatmentCooler1.Total_Plant_Cost': 0, 'PretreatmentCooler2.Total_Plant_Cost': 0.004149664823885809, 'PretreatmentTank1.Total_Plant_Cost': 0.0036196502024322826, 'PretreatmentTank2.Total_Plant_Cost': 0.001910489250600892, 'WashingColumn1.Total_Plant_Cost': 0.11061339650873707, 'WashingColumn2.Total_Plant_Cost': 0.05838290806674986, 'WashingColumn1.Packing.Total_Plant_Cost': 0.080177198032371, 'WashingColumn2 .Packing.Total_Plant_Cost': 0.04231836404556815, 'WashingColumn1.Cooler.Total_Plant_Cost': 0.002685546924385242, 'WashingColumn2 .Cooler.Total_Plant_Cost': 0.0014174597665748557, 'WashingColumn1.SolventPump.Total_Plant_Cost': 0.0006616564886166539, 'WashingColumn2 .SolventPump.Total_Plant_Cost': 0.000349229217851776, 'Condenser1.Pump.Total_Plant_Cost': 0.0013622339471519344, 'Condenser2 .Pump.Total_Plant_Cost': 0.0007190013308713036, 'Stripper1.RefluxDrum.Total_Plant_Cost': 0.0017903646162568281, 'Stripper2.RefluxDrum.Total_Plant_Cost': 0.0032663203316724934, 'LeanSolventPump1.Total_Plant_Cost': 0, 'LeanSolventPump2.Total_Plant_Cost': 0, 'SolventStorageTank1.Total_Plant_Cost': 0.013310971712170331, 'SolventStorageTank2.Total_Plant_Cost': 0.007025670147371023, 'WashingSolventTank1.Total_Plant_Cost': 0.0017903646162568281, 'WashingSolventTank2.Total_Plant_Cost': 0.0009449731777165704, 'SolventStripperReclaimer1.Total_Plant_Cost': 0.007044695555271432, 'SolventStripperReclaimer2.Total_Plant_Cost': 0.0037182640253630274, 'SolventReclaimerCooler1.Total_Plant_Cost': 0.007005774585352805, 'SolventReclaimerCooler2.Total_Plant_Cost': 0.0036977211301952757, 'SolventFiltration1.Total_Plant_Cost': 0.03370555994953072, 'SolventFiltration2.Total_Plant_Cost': 0.017790147215272827, 'TPC': 3.8975757737963006, 'Utilities.Water': 0.08656566413033356, 'Utilities.Steam': 0.05654235740578879, 'Utilities.Solvent': 0.16280820375746133, 'Utilities.Electricity': 0.038248804836724035, 'TotalCost.Capital': 0.1296586669958502, 'TotalCost.Fixed': 3.2882849999999997, 'TotalCost.Variable': 0.3441650301303077, 'TotalCost.PerElectricity': 71.63979975508192, 'TotalCost.PerCapture': 734.4190131575258}
},
    'graphError': 0, 
    'nodeError': {'CCSI_MEAModel': 0, 'CCS_costing': 0},
    'nodeSettings': {'CCSI_MEAModel': {}, 'CCS_costing': {}}, 
    'turbineMessages': {'CCSI_MEAModel': 'NULL', 'CCS_costing': 'NULL'}, 
    'input_vectorvals': {'CCSI_MEAModel': {}, 'CCS_costing': {}}, 
    'output_vectorvals': {'CCSI_MEAModel': {}, 'CCS_costing': {}, 
    'LowConc': {}}, 'session': '37521c28-4c20-4e47-96ad-57c923cd10ca', 
    'Id': '0bef26c8-d0dc-4a5e-a8a6-700770dd6199', 
    'resub': 0
}
@boverhof boverhof self-assigned this Mar 10, 2023
@boverhof
Copy link
Member Author

REST API JOB

  • success but should have failed
$ curl -su XXXXXXXX  https://XXXXXXXXXX/prod/session/37521c28-4c20-4e47-96ad-57c923cd10ca/result/00000000-0000-0000-0000-000000000000/1 | jq '.'
[
  {
    "Finished": "2023-03-10T17:26:11.206Z",
    "Input": {
      "CCSI_MEAModel": {
        "FLUEGASINTEMP": 40,
        "FLUEGASINFLOW": 2000,
        "ABSDIAM": 1,
        "CO2LEANLOADING": 0.2,
        "STRPRESSURE": 185,
        "FLUEGASFRACH2O": 0.086,
        "FLUEGASFRACCO2": 0.05,
        "LEANSOLVENTTEMP": 40,
        "FLUEGASFRACN2": 0.78,
        "FLUEGASFRACO2": 0.084,
        "LEANRICHHXAREASPEC": 80,
        "ABSPACKHT": 30,
        "STRDIAM": 1,
        "STRPACKHT": 25
      },
      "CCS_costing": {
        "CO2Product.Flow": 1152.69703,
        "LeanSolventCooler.Area": 1.13815527,
        "Absorber.Volume": 22.5538944,
        "Stripper.Reboiler_Area": 1.35659952,
        "LeanRichHX.Area": 52.034442,
        "Absorber.Packing_Volume": 22.1028165,
        "FlueGas.Flow": 2002.0657,
        "Utilities.Electricity": 72.7716987,
        "CE_Index.Year": 2018,
        "Condenser.Area": 0.936174117,
        "Stripper.Packing_Volume": 3.1643137,
        "NetPlantPower": 650,
        "Utilities.Steam": 879.971152,
        "Utilities.Water": 86.623102,
        "Stripper.Volume": 3.22889153,
        "Utilities.Solvent": 1.75976342
      },
      "graph": {}
    },
    "setup": "2023-03-10T17:25:41.477Z",
    "Reset": false,
    "TTL": 1678555571,
    "State": "success",
    "Create": "2023-03-10T17:25:37.643Z",
    "Type": "Job",
    "running": "2023-03-10T17:26:08.666Z",
    "Application": "foqus",
    "User": "boverhof",
    "submit": "2023-03-10T17:25:40.890Z",
    "Id": "0bef26c8-d0dc-4a5e-a8a6-700770dd6199",
    "ConsumerId": "1c1f61bb-021d-496b-bc3e-d8c387e739ba",
    "Simulation": "zzfoqus_LowConcentration",
    "Output": {
      "solTime": 0,
      "input": {
        "graph": {},
        "CCSI_MEAModel": {
          "ABSDIAM": 1,
          "ABSPACKHT": 30,
          "STRDIAM": 1,
          "STRPACKHT": 25,
          "CO2LEANLOADING": 0.2,
          "LEANRICHHXAREASPEC": 80,
          "LEANSOLVENTTEMP": 40,
          "FLUEGASINTEMP": 40,
          "STRPRESSURE": 185,
          "FLUEGASINFLOW": 2000,
          "FLUEGASFRACCO2": 0.05,
          "FLUEGASFRACO2": 0.084,
          "FLUEGASFRACH2O": 0.086,
          "FLUEGASFRACN2": 0.78
        },
        "CCS_costing": {
          "Absorber.Volume": 0,
          "Absorber.Packing_Volume": 0,
          "Stripper.Volume": 0,
          "Stripper.Packing_Volume": 0,
          "Condenser.Area": 0,
          "Stripper.Reboiler_Area": 0,
          "LeanRichHX.Area": 0,
          "LeanSolventCooler.Area": 0,
          "CO2Product.Flow": 0,
          "FlueGas.Flow": 0,
          "NetPlantPower": 650,
          "Utilities.Water": 0,
          "Utilities.Steam": 0,
          "Utilities.Solvent": 0,
          "Utilities.Electricity": 0,
          "CE_Index.Year": 2018
        }
      },
      "output": {
        "graph": {
          "error": 0
        },
        "CCSI_MEAModel": {
          "ABSVOLUME": 0,
          "ABSPACKVOL": 0,
          "STRVOLUME": 0,
          "STRPACKVOL": 0,
          "CONDENSERAREA": 0,
          "STRREBAREA": 0,
          "LEANRICHHXAREA": 0,
          "COOLERAREA": 0,
          "CO2PRODFLOW": 0,
          "FLUEGASFLOW": 0,
          "RATEWATER": 0,
          "RATESTEAM": 0,
          "RATEMEA": 0,
          "RATEELECTRICITY": 0,
          "CO2FRACCAP": 0,
          "ABSFRACFLOOD": 0,
          "STRFRACFLOOD": 0,
          "LEANSOLVFLOW": 5796.48792,
          "QREB": 347712.253,
          "SRD": 3.35810066,
          "status": 0
        },
        "CCS_costing": {
          "Absorber.Total_Plant_Cost": 1.3886593705269759,
          "Absorber.Packing.Total_Plant_Cost": 1.203395894325608,
          "Stripper.Total_Plant_Cost": 0.20634864588003515,
          "Stripper.Packing.Total_Plant_Cost": 0.15770819055219565,
          "Stripper.Condenser.Total_Plant_Cost": 0.00894523073157076,
          "Stripper.Reboiler.Total_Plant_Cost": 0.042815990775907316,
          "LeanRichHX.Total_Plant_Cost": 0.11411726654844366,
          "LeanSolventCooler.Total_Plant_Cost": 0.031603827573924874,
          "FlueGasBlower1.Total_Plant_Cost": 0,
          "FlueGasBlower2.Total_Plant_Cost": 0.016680830876214244,
          "FlueGasDirectContactCooler1.Total_Plant_Cost": 0.05906082360728565,
          "FlueGasDirectContactCooler2.Total_Plant_Cost": 0,
          "FlueGasDirectContactCooler1.Packing.Total_Plant_Cost": 0.07328818635677407,
          "FlueGasDirectContactCooler2.Packing.Total_Plant_Cost": 0.03868227160087614,
          "PretreatmentPump1.Total_Plant_Cost": 0.007862035923562593,
          "PretreatmentPump2.Total_Plant_Cost": 0,
          "PretreatmentCooler1.Total_Plant_Cost": 0,
          "PretreatmentCooler2.Total_Plant_Cost": 0.004149664823885809,
          "PretreatmentTank1.Total_Plant_Cost": 0.0036196502024322826,
          "PretreatmentTank2.Total_Plant_Cost": 0.001910489250600892,
          "WashingColumn1.Total_Plant_Cost": 0.11061339650873707,
          "WashingColumn2.Total_Plant_Cost": 0.05838290806674986,
          "WashingColumn1.Packing.Total_Plant_Cost": 0.080177198032371,
          "WashingColumn2 .Packing.Total_Plant_Cost": 0.04231836404556815,
          "WashingColumn1.Cooler.Total_Plant_Cost": 0.002685546924385242,
          "WashingColumn2 .Cooler.Total_Plant_Cost": 0.0014174597665748557,
          "WashingColumn1.SolventPump.Total_Plant_Cost": 0.0006616564886166539,
          "WashingColumn2 .SolventPump.Total_Plant_Cost": 0.000349229217851776,
          "Condenser1.Pump.Total_Plant_Cost": 0.0013622339471519344,
          "Condenser2 .Pump.Total_Plant_Cost": 0.0007190013308713036,
          "Stripper1.RefluxDrum.Total_Plant_Cost": 0.0017903646162568281,
          "Stripper2.RefluxDrum.Total_Plant_Cost": 0.0032663203316724934,
          "LeanSolventPump1.Total_Plant_Cost": 0,
          "LeanSolventPump2.Total_Plant_Cost": 0,
          "SolventStorageTank1.Total_Plant_Cost": 0.013310971712170331,
          "SolventStorageTank2.Total_Plant_Cost": 0.007025670147371023,
          "WashingSolventTank1.Total_Plant_Cost": 0.0017903646162568281,
          "WashingSolventTank2.Total_Plant_Cost": 0.0009449731777165704,
          "SolventStripperReclaimer1.Total_Plant_Cost": 0.007044695555271432,
          "SolventStripperReclaimer2.Total_Plant_Cost": 0.0037182640253630274,
          "SolventReclaimerCooler1.Total_Plant_Cost": 0.007005774585352805,
          "SolventReclaimerCooler2.Total_Plant_Cost": 0.0036977211301952757,
          "SolventFiltration1.Total_Plant_Cost": 0.03370555994953072,
          "SolventFiltration2.Total_Plant_Cost": 0.017790147215272827,
          "TPC": 3.8975757737963006,
          "Utilities.Water": 0.08656566413033356,
          "Utilities.Steam": 0.05654235740578879,
          "Utilities.Solvent": 0.16280820375746133,
          "Utilities.Electricity": 0.038248804836724035,
          "TotalCost.Capital": 0.1296586669958502,
          "TotalCost.Fixed": 3.2882849999999997,
          "TotalCost.Variable": 0.3441650301303077,
          "TotalCost.PerElectricity": 71.63979975508192,
          "TotalCost.PerCapture": 734.4190131575258
        }
      },
      "graphError": 0,
      "nodeError": {
        "CCSI_MEAModel": 0,
        "CCS_costing": 0
      },
      "nodeSettings": {
        "CCSI_MEAModel": {},
        "CCS_costing": {}
      },
      "turbineMessages": {
        "CCSI_MEAModel": "NULL",
        "CCS_costing": "NULL"
      },
      "input_vectorvals": {
        "CCSI_MEAModel": {},
        "CCS_costing": {}
      },
      "output_vectorvals": {
        "CCSI_MEAModel": {},
        "CCS_costing": {},
        "LowConc": {}
      }
    },
    "Session": "37521c28-4c20-4e47-96ad-57c923cd10ca"
  }
]

@boverhof
Copy link
Member Author

boverhof commented Mar 10, 2023

LowConcentration ONLY

  • correct behavior
  • errors and get a decent message about no license
  • front end gui logs
  • took 3 minutes 17 seconds
2023-03-10 19:42:08,576 - ERROR - foqus.foqus_lib.framework.graph.graph - Job(58c66bcd-eb4b-44ef-a03f-90bb4f66ca4f) Error: Flowsheet Error: Unknown
2023-03-10 19:42:08,826 - DEBUG - foqus.foqus_lib.gui.main.mainWindow - stopSim SingleRun: 
{'solTime': 197.53227925300598, 
'input': {
'graph': {}, 'CCSI_MEAModel': {'ABSDIAM': 1, 'ABSPACKHT': 30, 'STRDIAM': 1, 'STRPACKHT': 25, 'CO2LEANLOADING': 0.2, 'LEANRICHHXAREASPEC': 80, 'LEANSOLVENTTEMP': 40, 'FLUEGASINTEMP': 40, 'STRPRESSURE': 185, 'FLUEGASINFLOW': 2000, 'FLUEGASFRACCO2': 0.05, 'FLUEGASFRACO2': 0.084, 'FLUEGASFRACH2O': 0.086, 'FLUEGASFRACN2': 0.78}}, 
'output': {
'graph': {'error': 1}, 
'CCSI_MEAModel': {'ABSVOLUME': 0, 'ABSPACKVOL': 0, 'STRVOLUME': 0, 'STRPACKVOL': 0, 'CONDENSERAREA': 0, 'STRREBAREA': 0, 'LEANRICHHXAREA': 0, 'COOLERAREA': 0, 'CO2PRODFLOW': 0, 'FLUEGASFLOW': 0, 'RATEWATER': 0, 'RATESTEAM': 0, 'RATEMEA': 0, 'RATEELECTRICITY': 0, 'CO2FRACCAP': 0, 'ABSFRACFLOOD': 0, 'STRFRACFLOOD': 0, 'LEANSOLVFLOW': 5796.48792, 'QREB': 347712.253, 'SRD': 3.35810066, 'status': 0}
}, 
'graphError': 1, 
'nodeError': {'CCSI_MEAModel': 7}, 
'nodeSettings': {
'CCSI_MEAModel': {'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'}
}, 
'turbineMessages': {
'CCSI_MEAModel': '["event=setup,consumer=0705bba3-5789-4605-a3e7-51f7a1de1000", 
"working directory setup finished", 
"Failed to open Simulation (1: Failed to check out a license.", 
"Failed to open Simulation (2: Failed to check out a license.", 
"Failed to open Simulation (3: Failed to check out a license.", 
"Failed to open Simulation (4: Failed to check out a license.", 
"event=error,consumer=0705bba3-5789-4605-a3e7-51f7a1de1000,msg=\\"Failed to open Simulation (5: Failed to check out a license.\\""]'}, 'input_vectorvals': {'CCSI_MEAModel': {}}, 'output_vectorvals': {'CCSI_MEAModel': {}, 'CCS_costing': {}, 'LowConc': {}}, 'session': '2ce05205-dcfe-4ec0-aafb-4a34542c86fe', 'Id': '58c66bcd-eb4b-44ef-a03f-90bb4f66ca4f', 'resub': 0}

Add more logging: calcError 7

2023-03-10 19:09:48,376 - ERROR - foqus.foqus_lib.framework.graph.graph - runGraph(CCSI_MEAModel): calcError=7
2023-03-10 19:09:48,376 - DEBUG - foqus.foqus_lib.framework.graph.graph - solve: no tears flowsheet done run post solve nodes

@boverhof
Copy link
Member Author

User plugin Correct Error when plugin loads

  • installed idaes, pyomo, solvers
  • user plugin is loaded correctly, seems to error correctly on missing Aspen License.
2023-03-10 19:55:57,768 - ERROR - foqus.foqus_lib.framework.graph.node - Error while motoring job: 4, Ex: 350 - Job failed, Results: {'Id': 4, 'Guid': '9ef9e2fb-f542-422b-8259-d4f1a4a0ed06', 'Simulation': 'LowConcentration', 'State': 'error', 'Messages': ['event=setup,consumer=e16155f8-53b7-442f-9a10-ebbde82f0cbe', 'working directory setup finished', 'Failed to open Simulation (1: Failed to check out a license.', 'Failed to open Simulation (2: Failed to check out a license.', 'Failed to open Simulation (3: Failed to check out a license.', 'Failed to open Simulation (4: Failed to check out a license.', 'event=error,consumer=e16155f8-53b7-442f-9a10-ebbde82f0cbe,msg="Failed to open Simulation (5: Failed to check out a license."'], 'Input': {'ABSDIAM': 1.0, 'ABSPACKHT': 30.0, 'CO2LEANLOADING': 0.2, 'FLUEGASFRACCO2': 0.05, 'FLUEGASFRACH2O': 0.086, 'FLUEGASFRACN2': 0.78, 'FLUEGASFRACO2': 0.084, 'FLUEGASINFLOW': 2000.0, 'FLUEGASINTEMP': 40.0, 'LEANRICHHXAREASPEC': 80.0, 'LEANSOLVENTTEMP': 40.0, 'STRDIAM': 1.0, 'STRPACKHT': 25.0, 'STRPRESSURE': 185.0}, 'Output': None, 'Errors': [], 'Status': 0, 'Session': '66d9f811-9d9c-4d01-9443-39487edbe868', 'Initialize': False, 'Reset': False, 'Visible': False, 'Consumer': 'e16155f8-53b7-442f-9a10-ebbde82f0cbe', 'Create': '2023-03-10T19:54:27.7470000', 'Submit': '2023-03-10T19:54:27.8100000', 'Setup': '2023-03-10T19:54:31.2030000', 'Finished': '2023-03-10T19:55:57.4200000'}
line: 1303 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\node.py 
   self.runModel()
line: 1326 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\node.py 
   self.runTurbineCalc(retry=self.options["Retry"].value)
line: 1544 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\graph\node.py 
   res = configProfile.monitorJob(
line: 1144 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\sim\turbineConfiguration.py 
   raise TurbineInterfaceEx(
line: 79 file: c:\users\administrator\desktop\foqus\foqus_lib\framework\sim\turbineConfiguration.py 
   foqusException.__init__(self, code=code, msg=msg, tb=tb)

2023-03-10 19:55:57,768 - INFO - foqus.foqus_lib.framework.graph.node - Job failed, stopping consumer for LowConcentration
2023-03-10 19:55:57,799 - INFO - foqus.foqus_lib.framework.sim.turbineConfiguration - Stop Consumer {E16155F8-53B7-442F-9A10-EBBDE82F0CBE} Requested: <Response [200]>
2023-03-10 19:55:59,817 - DEBUG - foqus.foqus_lib.framework.sim.process_management - Found Process: []
2023-03-10 19:55:59,817 - INFO - foqus.foqus_lib.framework.graph.node - Job 4 Failed will not retry
2023-03-10 19:55:59,817 - DEBUG - foqus.foqus_lib.framework.graph.node - Job 4 Results:
{"Id": 4, "Guid": "9ef9e2fb-f542-422b-8259-d4f1a4a0ed06", "Simulation": "LowConcentration", "State": "error", "Messages": ["event=setup,consumer=e16155f8-53b7-442f-9a10-ebbde82f0cbe", "working directory setup finished", "Failed to open Simulation (1: Failed to check out a license.", "Failed to open Simulation (2: Failed to check out a license.", "Failed to open Simulation (3: Failed to check out a license.", "Failed to open Simulation (4: Failed to check out a license.", "event=error,consumer=e16155f8-53b7-442f-9a10-ebbde82f0cbe,msg=\"Failed to open Simulation (5: Failed to check out a license.\""], "Input": {"ABSDIAM": 1.0, "ABSPACKHT": 30.0, "CO2LEANLOADING": 0.2, "FLUEGASFRACCO2": 0.05, "FLUEGASFRACH2O": 0.086, "FLUEGASFRACN2": 0.78, "FLUEGASFRACO2": 0.084, "FLUEGASINFLOW": 2000.0, "FLUEGASINTEMP": 40.0, "LEANRICHHXAREASPEC": 80.0, "LEANSOLVENTTEMP": 40.0, "STRDIAM": 1.0, "STRPACKHT": 25.0, "STRPRESSURE": 185.0}, "Output": null, "Errors": [], "Status": 0, "Session": "66d9f811-9d9c-4d01-9443-39487edbe868", "Initialize": false, "Reset": false, "Visible": false, "Consumer": "e16155f8-53b7-442f-9a10-ebbde82f0cbe", "Create": "2023-03-10T19:54:27.7470000", "Submit": "2023-03-10T19:54:27.8100000", "Setup": "2023-03-10T19:54:31.2030000", "Finished": "2023-03-10T19:55:57.4200000"}
2023-03-10 19:55:59,817 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration="turbine.cfg"
2023-03-10 19:55:59,833 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration application url="http://localhost:8000/TurbineLite/application/"
2023-03-10 19:55:59,833 - DEBUG - foqus.foqus_lib.framework.sim.turbineConfiguration - turbine configuration url="http://localhost:8000/TurbineLite"
2023-03-10 19:55:59,833 - ERROR - foqus.foqus_lib.framework.graph.graph - runGraph(CCSI_MEAModel): calcError=7
2023-03-10 19:55:59,833 - DEBUG - foqus.foqus_lib.framework.graph.graph - solve: no tears flowsheet done run post solve nodes
2023-03-10 19:55:59,833 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.consumer_status
2023-03-10 19:55:59,833 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.job_save_output
2023-03-10 19:55:59,833 - DEBUG - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.job_save_output:  {"solTime": 96.19804644584656, "input": {"graph": {}, "CCSI_MEAModel": {"ABSDIAM": 1.0, "ABSPACKHT": 30.0, "STRDIAM": 1.0, "STRPACKHT": 25.0, "CO2LEANLOADING": 0.2, "LEANRICHHXAREASPEC": 80.0, "LEANSOLVENTTEMP": 40.0, "FLUEGASINTEMP": 40.0, "STRPRESSURE": 185.0, "FLUEGASINFLOW": 2000.0, "FLUEGASFRACCO2": 0.05, "FLUEGASFRACO2": 0.084, "FLUEGASFRACH2O": 0.086, "FLUEGASFRACN2": 0.78}, "CCS_costing": {"Absorber.Volume": 22.5538944, "Absorber.Packing_Volume": 22.1028165, "Stripper.Volume": 3.22889153, "Stripper.Packing_Volume": 3.1643137, "Condenser.Area": 0.936174117, "Stripper.Reboiler_Area": 1.35659952, "LeanRichHX.Area": 52.034442, "LeanSolventCooler.Area": 1.13815527, "CO2Product.Flow": 1152.69703, "FlueGas.Flow": 2002.0657, "NetPlantPower": 650.0, "Utilities.Water": 86.623102, "Utilities.Steam": 879.971152, "Utilities.Solvent": 1.75976342, "Utilities.Electricity": 72.7716987, "CE_Index.Year": 2018.0}}, "output": {"graph": {"error": 1.0}, "CCSI_MEAModel": {"ABSVOLUME": 0.0, "ABSPACKVOL": 0.0, "STRVOLUME": 0.0, "STRPACKVOL": 0.0, "CONDENSERAREA": 0.0, "STRREBAREA": 0.0, "LEANRICHHXAREA": 0.0, "COOLERAREA": 0.0, "CO2PRODFLOW": 0.0, "FLUEGASFLOW": 0.0, "RATEWATER": 0.0, "RATESTEAM": 0.0, "RATEMEA": 0.0, "RATEELECTRICITY": 0.0, "CO2FRACCAP": 0.0, "ABSFRACFLOOD": 0.0, "STRFRACFLOOD": 0.0, "LEANSOLVFLOW": 5796.48792, "QREB": 347712.253, "SRD": 3.35810066, "status": 0.0}, "CCS_costing": {"Absorber.Total_Plant_Cost": 1.3886593705269759, "Absorber.Packing.Total_Plant_Cost": 1.203395894325608, "Stripper.Total_Plant_Cost": 0.20634864588003515, "Stripper.Packing.Total_Plant_Cost": 0.15770819055219565, "Stripper.Condenser.Total_Plant_Cost": 0.00894523073157076, "Stripper.Reboiler.Total_Plant_Cost": 0.042815990775907316, "LeanRichHX.Total_Plant_Cost": 0.11411726654844366, "LeanSolventCooler.Total_Plant_Cost": 0.031603827573924874, "FlueGasBlower1.Total_Plant_Cost": 0.0, "FlueGasBlower2.Total_Plant_Cost": 0.016680830876214244, "FlueGasDirectContactCooler1.Total_Plant_Cost": 0.05906082360728565, "FlueGasDirectContactCooler2.Total_Plant_Cost": 0.0, "FlueGasDirectContactCooler1.Packing.Total_Plant_Cost": 0.07328818635677407, "FlueGasDirectContactCooler2.Packing.Total_Plant_Cost": 0.03868227160087614, "PretreatmentPump1.Total_Plant_Cost": 0.007862035923562593, "PretreatmentPump2.Total_Plant_Cost": 0.0, "PretreatmentCooler1.Total_Plant_Cost": 0.0, "PretreatmentCooler2.Total_Plant_Cost": 0.004149664823885809, "PretreatmentTank1.Total_Plant_Cost": 0.0036196502024322826, "PretreatmentTank2.Total_Plant_Cost": 0.001910489250600892, "WashingColumn1.Total_Plant_Cost": 0.11061339650873707, "WashingColumn2.Total_Plant_Cost": 0.05838290806674986, "WashingColumn1.Packing.Total_Plant_Cost": 0.080177198032371, "WashingColumn2 .Packing.Total_Plant_Cost": 0.04231836404556815, "WashingColumn1.Cooler.Total_Plant_Cost": 0.002685546924385242, "WashingColumn2 .Cooler.Total_Plant_Cost": 0.0014174597665748557, "WashingColumn1.SolventPump.Total_Plant_Cost": 0.0006616564886166539, "WashingColumn2 .SolventPump.Total_Plant_Cost": 0.000349229217851776, "Condenser1.Pump.Total_Plant_Cost": 0.0013622339471519344, "Condenser2 .Pump.Total_Plant_Cost": 0.0007190013308713036, "Stripper1.RefluxDrum.Total_Plant_Cost": 0.0017903646162568281, "Stripper2.RefluxDrum.Total_Plant_Cost": 0.0032663203316724934, "LeanSolventPump1.Total_Plant_Cost": 0.0, "LeanSolventPump2.Total_Plant_Cost": 0.0, "SolventStorageTank1.Total_Plant_Cost": 0.013310971712170331, "SolventStorageTank2.Total_Plant_Cost": 0.007025670147371023, "WashingSolventTank1.Total_Plant_Cost": 0.0017903646162568281, "WashingSolventTank2.Total_Plant_Cost": 0.0009449731777165704, "SolventStripperReclaimer1.Total_Plant_Cost": 0.007044695555271432, "SolventStripperReclaimer2.Total_Plant_Cost": 0.0037182640253630274, "SolventReclaimerCooler1.Total_Plant_Cost": 0.007005774585352805, "SolventReclaimerCooler2.Total_Plant_Cost": 0.0036977211301952757, "SolventFiltration1.Total_Plant_Cost": 0.03370555994953072, "SolventFiltration2.Total_Plant_Cost": 0.017790147215272827, "TPC": 3.8975757737963006, "Utilities.Water": 0.08656566413033356, "Utilities.Steam": 0.05654235740578879, "Utilities.Solvent": 0.16280820375746133, "Utilities.Electricity": 0.038248804836724035, "TotalCost.Capital": 0.1296586669958502, "TotalCost.Fixed": 3.2882849999999997, "TotalCost.Variable": 0.3441650301303077, "TotalCost.PerElectricity": 71.63979975508192, "TotalCost.PerCapture": 734.4190131575258}}, "graphError": 1, "nodeError": {"CCSI_MEAModel": 7, "CCS_costing": -1}, "nodeSettings": {"CCSI_MEAModel": {"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.0, "Maximum Run Time (s)": 840.0, "Min Status Check Interval": 4.0, "Max Status Check Interval": 5.0, "Override Turbine Configuration": "NULL"}, "CCS_costing": {}}, "turbineMessages": {"CCSI_MEAModel": "[\"event=setup,consumer=e16155f8-53b7-442f-9a10-ebbde82f0cbe\", \"working directory setup finished\", \"Failed to open Simulation (1: Failed to check out a license.\", \"Failed to open Simulation (2: Failed to check out a license.\", \"Failed to open Simulation (3: Failed to check out a license.\", \"Failed to open Simulation (4: Failed to check out a license.\", \"event=error,consumer=e16155f8-53b7-442f-9a10-ebbde82f0cbe,msg=\\\"Failed to open Simulation (5: Failed to check out a license.\\\"\"]", "CCS_costing": "NULL"}, "input_vectorvals": {"CCSI_MEAModel": {}, "CCS_costing": {}}, "output_vectorvals": {"CCSI_MEAModel": {}, "CCS_costing": {}, "LowConc": {}}}
2023-03-10 19:55:59,833 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'job', 'event': 'output', 'jobid': '40d07486-ec9f-4d81-956a-39886a44e46d', 'username': 'boverhof', 'value': {'solTime': 96.19804644584656, 'input': {'graph': {}, 'CCSI_MEAModel': {'ABSDIAM': 1.0, 'ABSPACKHT': 30.0, 'STRDIAM': 1.0, 'STRPACKHT': 25.0, 'CO2LEANLOADING': 0.2, 'LEANRICHHXAREASPEC': 80.0, 'LEANSOLVENTTEMP': 40.0, 'FLUEGASINTEMP': 40.0, 'STRPRESSURE': 185.0, 'FLUEGASINFLOW': 2000.0, 'FLUEGASFRACCO2': 0.05, 'FLUEGASFRACO2': 0.084, 'FLUEGASFRACH2O': 0.086, 'FLUEGASFRACN2': 0.78}, 'CCS_costing': {'Absorber.Volume': 22.5538944, 'Absorber.Packing_Volume': 22.1028165, 'Stripper.Volume': 3.22889153, 'Stripper.Packing_Volume': 3.1643137, 'Condenser.Area': 0.936174117, 'Stripper.Reboiler_Area': 1.35659952, 'LeanRichHX.Area': 52.034442, 'LeanSolventCooler.Area': 1.13815527, 'CO2Product.Flow': 1152.69703, 'FlueGas.Flow': 2002.0657, 'NetPlantPower': 650.0, 'Utilities.Water': 86.623102, 'Utilities.Steam': 879.971152, 'Utilities.Solvent': 1.75976342, 'Utilities.Electricity': 72.7716987, 'CE_Index.Year': 2018.0}}, 'output': {'graph': {'error': 1.0}, 'CCSI_MEAModel': {'ABSVOLUME': 0.0, 'ABSPACKVOL': 0.0, 'STRVOLUME': 0.0, 'STRPACKVOL': 0.0, 'CONDENSERAREA': 0.0, 'STRREBAREA': 0.0, 'LEANRICHHXAREA': 0.0, 'COOLERAREA': 0.0, 'CO2PRODFLOW': 0.0, 'FLUEGASFLOW': 0.0, 'RATEWATER': 0.0, 'RATESTEAM': 0.0, 'RATEMEA': 0.0, 'RATEELECTRICITY': 0.0, 'CO2FRACCAP': 0.0, 'ABSFRACFLOOD': 0.0, 'STRFRACFLOOD': 0.0, 'LEANSOLVFLOW': 5796.48792, 'QREB': 347712.253, 'SRD': 3.35810066, 'status': 0.0}, 'CCS_costing': {'Absorber.Total_Plant_Cost': 1.3886593705269759, 'Absorber.Packing.Total_Plant_Cost': 1.203395894325608, 'Stripper.Total_Plant_Cost': 0.20634864588003515, 'Stripper.Packing.Total_Plant_Cost': 0.15770819055219565, 'Stripper.Condenser.Total_Plant_Cost': 0.00894523073157076, 'Stripper.Reboiler.Total_Plant_Cost': 0.042815990775907316, 'LeanRichHX.Total_Plant_Cost': 0.11411726654844366, 'LeanSolventCooler.Total_Plant_Cost': 0.031603827573924874, 'FlueGasBlower1.Total_Plant_Cost': 0.0, 'FlueGasBlower2.Total_Plant_Cost': 0.016680830876214244, 'FlueGasDirectContactCooler1.Total_Plant_Cost': 0.05906082360728565, 'FlueGasDirectContactCooler2.Total_Plant_Cost': 0.0, 'FlueGasDirectContactCooler1.Packing.Total_Plant_Cost': 0.07328818635677407, 'FlueGasDirectContactCooler2.Packing.Total_Plant_Cost': 0.03868227160087614, 'PretreatmentPump1.Total_Plant_Cost': 0.007862035923562593, 'PretreatmentPump2.Total_Plant_Cost': 0.0, 'PretreatmentCooler1.Total_Plant_Cost': 0.0, 'PretreatmentCooler2.Total_Plant_Cost': 0.004149664823885809, 'PretreatmentTank1.Total_Plant_Cost': 0.0036196502024322826, 'PretreatmentTank2.Total_Plant_Cost': 0.001910489250600892, 'WashingColumn1.Total_Plant_Cost': 0.11061339650873707, 'WashingColumn2.Total_Plant_Cost': 0.05838290806674986, 'WashingColumn1.Packing.Total_Plant_Cost': 0.080177198032371, 'WashingColumn2 .Packing.Total_Plant_Cost': 0.04231836404556815, 'WashingColumn1.Cooler.Total_Plant_Cost': 0.002685546924385242, 'WashingColumn2 .Cooler.Total_Plant_Cost': 0.0014174597665748557, 'WashingColumn1.SolventPump.Total_Plant_Cost': 0.0006616564886166539, 'WashingColumn2 .SolventPump.Total_Plant_Cost': 0.000349229217851776, 'Condenser1.Pump.Total_Plant_Cost': 0.0013622339471519344, 'Condenser2 .Pump.Total_Plant_Cost': 0.0007190013308713036, 'Stripper1.RefluxDrum.Total_Plant_Cost': 0.0017903646162568281, 'Stripper2.RefluxDrum.Total_Plant_Cost': 0.0032663203316724934, 'LeanSolventPump1.Total_Plant_Cost': 0.0, 'LeanSolventPump2.Total_Plant_Cost': 0.0, 'SolventStorageTank1.Total_Plant_Cost': 0.013310971712170331, 'SolventStorageTank2.Total_Plant_Cost': 0.007025670147371023, 'WashingSolventTank1.Total_Plant_Cost': 0.0017903646162568281, 'WashingSolventTank2.Total_Plant_Cost': 0.0009449731777165704, 'SolventStripperReclaimer1.Total_Plant_Cost': 0.007044695555271432, 'SolventStripperReclaimer2.Total_Plant_Cost': 0.0037182640253630274, 'SolventReclaimerCooler1.Total_Plant_Cost': 0.007005774585352805, 'SolventReclaimerCooler2.Total_Plant_Cost': 0.0036977211301952757, 'SolventFiltration1.Total_Plant_Cost': 0.03370555994953072, 'SolventFiltration2.Total_Plant_Cost': 0.017790147215272827, 'TPC': 3.8975757737963006, 'Utilities.Water': 0.08656566413033356, 'Utilities.Steam': 0.05654235740578879, 'Utilities.Solvent': 0.16280820375746133, 'Utilities.Electricity': 0.038248804836724035, 'TotalCost.Capital': 0.1296586669958502, 'TotalCost.Fixed': 3.2882849999999997, 'TotalCost.Variable': 0.3441650301303077, 'TotalCost.PerElectricity': 71.63979975508192, 'TotalCost.PerCapture': 734.4190131575258}}, 'graphError': 1, 'nodeError': {'CCSI_MEAModel': 7, 'CCS_costing': -1}, 'nodeSettings': {'CCSI_MEAModel': {'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.0, 'Maximum Run Time (s)': 840.0, 'Min Status Check Interval': 4.0, 'Max Status Check Interval': 5.0, 'Override Turbine Configuration': 'NULL'}, 'CCS_costing': {}}, 'turbineMessages': {'CCSI_MEAModel': '["event=setup,consumer=e16155f8-53b7-442f-9a10-ebbde82f0cbe", "working directory setup finished", "Failed to open Simulation (1: Failed to check out a license.", "Failed to open Simulation (2: Failed to check out a license.", "Failed to open Simulation (3: Failed to check out a license.", "Failed to open Simulation (4: Failed to check out a license.", "event=error,consumer=e16155f8-53b7-442f-9a10-ebbde82f0cbe,msg=\\"Failed to open Simulation (5: Failed to check out a license.\\""]', 'CCS_costing': 'NULL'}, 'input_vectorvals': {'CCSI_MEAModel': {}, 'CCS_costing': {}}, 'output_vectorvals': {'CCSI_MEAModel': {}, 'CCS_costing': {}, 'LowConc': {}}}, 'rc': 0, 'sessionid': 'e20a214b-02fc-47ee-b223-bfdfa3567165'}
2023-03-10 19:55:59,833 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: job.unknown
2023-03-10 19:55:59,833 - DEBUG - foqus.foqus_lib.service.flowsheet - MessageAttributes: {'event': {'DataType': 'String', 'StringValue': 'job.unknown'}, 'username': {'DataType': 'String', 'StringValue': 'boverhof'}}
2023-03-10 19:56:02,164 - INFO - foqus.foqus_lib.service.flowsheet - TurbineLiteDB.job_change_status {'Simulation': 'zzfoqus_LowConcentration', 'Input': {'graph': {}, 'CCSI_MEAModel': {'ABSDIAM': 1, 'ABSPACKHT': 30, 'STRDIAM': 1, 'STRPACKHT': 25, 'CO2LEANLOADING': 0.2, 'LEANRICHHXAREASPEC': 80, 'LEANSOLVENTTEMP': 40, 'FLUEGASINTEMP': 40, 'STRPRESSURE': 185, 'FLUEGASINFLOW': 2000, 'FLUEGASFRACCO2': 0.05, 'FLUEGASFRACO2': 0.084, 'FLUEGASFRACH2O': 0.086, 'FLUEGASFRACN2': 0.78}, 'CCS_costing': {'Absorber.Volume': 22.5538944, 'Absorber.Packing_Volume': 22.1028165, 'Stripper.Volume': 3.22889153, 'Stripper.Packing_Volume': 3.1643137, 'Condenser.Area': 0.936174117, 'Stripper.Reboiler_Area': 1.35659952, 'LeanRichHX.Area': 52.034442, 'LeanSolventCooler.Area': 1.13815527, 'CO2Product.Flow': 1152.69703, 'FlueGas.Flow': 2002.0657, 'NetPlantPower': 650, 'Utilities.Water': 86.623102, 'Utilities.Steam': 879.971152, 'Utilities.Solvent': 1.75976342, 'Utilities.Electricity': 72.7716987, 'CE_Index.Year': 2018}}, 'Reset': False, 'Id': '40d07486-ec9f-4d81-956a-39886a44e46d', 'resource': 'job', 'status': 'submit', 'jobid': '40d07486-ec9f-4d81-956a-39886a44e46d', 'sessionid': 'e20a214b-02fc-47ee-b223-bfdfa3567165', 'event': 'status'}
2023-03-10 19:56:02,164 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification obj: {'resource': 'job', 'event': 'status', 'rc': 0, 'status': 'error', 'jobid': '40d07486-ec9f-4d81-956a-39886a44e46d', 'instanceid': 'i-02cb0386390294045', 'consumer': 'b0a1add0-413f-477e-adcb-d1d76524ec8a', 'sessionid': 'e20a214b-02fc-47ee-b223-bfdfa3567165', 'message': 'Flowsheet Error: Unknown'}
2023-03-10 19:56:02,164 - DEBUG - foqus.foqus_lib.service.flowsheet - _sns_notification event: job.error

@ksbeattie ksbeattie added the Priority:Normal Normal Priority Issue or PR label Mar 14, 2023
@sotorrio1 sotorrio1 added the FOQUS Cloud Issues specific to FOQUS Cloud. label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FOQUS Cloud Issues specific to FOQUS Cloud. Priority:Normal Normal Priority Issue or PR
Projects
None yet
Development

No branches or pull requests

3 participants