Skip to content

From the C3MR flowsheet to cloud calculation results

Follow a pressure setpoint from MSHEX!B1 into the flowsheet, vary it in a study, compare LNG production with specific energy consumption, and export the results of one attempt. In the dev catalogue, open model 34, C3MR-Spreadsheet-LHS-YOCODEX-76-guide-c31b722c. This is a working copy of the updated model 21. Save your own copy before trying changes independently.

Examples from model 34: two Pareto points, expander performance, diagnostics and CSV verification

Open the model and find its variables

  1. Select English in the settings, save your choice and return to the catalogue. Open the working model, then select Cloud calculations in the sidebar. Its three tabs let you define the data, set up a study and revisit results.
  2. In the data manager, select C3MR LHS. The set contains 17 inputs (X) and 13 outputs (Y). Find mr_p among the inputs. Check that it belongs to spreadsheet MSHEX, cell B1, and has pressure units. The cell supplies the pressure setpoint for stream MR-11. Find liquid LNG among the outputs. Equipment tags and user-defined aliases keep the same spelling in both languages.
  3. To use the same variables in several studies, create a named set. Choose the input or output role, find the object by tag or type, select the property and add it. Give it a meaningful alias. Remove any unwanted row before saving. Select that same set when creating each study.
  4. If the editor flags an unavailable property, select the object and a property that supports the required role. For conflicting specifications, open the source stream and check the specifications for its conditions and flow rate. Saving a valid set and having sufficient data to run the flowsheet are separate checks.
  5. Study definitions are part of the model document. After editing the name or settings, save and reopen the model. A set referenced by a study is protected from deletion. Removing a study definition preserves its run history. If the model has older server-side templates, import them from the studies tab and save the model. Repeating the import skips definitions already transferred.

To release a practice set for deletion, switch each study that uses it to another set or remove the unneeded study definition. Find its earlier run in history. Sort by date, name, type or status, select the attempt and refresh the list.

The C3MR LHS set with its inputs and outputs.

The C3MR LHS set with its inputs and outputs.

Finding MSHEX spreadsheet properties in the variable-set editor.

Finding MSHEX spreadsheet properties in the variable-set editor.

Compare three sampling methods

Method Settings for the example What to check
Grid Vary mr_p from 200 to 400 kPa and mr_c1 from 4 to 5 kmol/s. Use two nodes for each. Keep the other inputs fixed. The plan contains four pairs of endpoint values. Compare the input pairs and the outcome of each point in the results.
Monte Carlo Use the same two ranges, enter four points and set the seed to 76. Clear the explicit seed to let the server select it. Open the frozen settings for the selected run. Use the point number to find the same record in the archive.
Latin hypercube (LHS) Open the saved LHS study. Check which inputs vary, their ranges, the selected outputs and the sample size of 10. Open the results and compare pressure with LNG production in a single row.

Check the five varying inputs in the saved LHS. The other twelve inputs retain their working-model values.

Variable Range
mr_c1 4–5 kmol/s
mr_c2 3–3.5 kmol/s
mr_c3 2–2.5 kmol/s
mr_n2 0.7–0.8 kmol/s
mr_p 200–400 kPa

A grid with two varying inputs and four planned points.

A grid with two varying inputs and four planned points.

Monte Carlo sampling with four points and an explicit seed.

Monte Carlo sampling with four points and an explicit seed.

The LHS study saved in the working copy.

The LHS study saved in the working copy.

The table gives physical quantities. If a field displays another unit, convert before entering the value. Each varying input needs a minimum below its maximum. Each fixed input needs a value in the model. Select at least one output. If the planned grid exceeds the engine limit, reduce the number of nodes or varying inputs.

To screen points before evaluating the flowsheet, create a separate LHS study with the same ranges, ten points and seed 76. Add a filter, select MSHEX!B1, choose ≥ and enter 300 kPa in the displayed unit. The picker offers suitable cells from active spreadsheets that execute before the flowsheet. In the attempt overview, compare the counts of points filtered out and sent for evaluation. A point rejected by the filter has no calculated LNG yield.

Admission filter on MSHEX!B1.

Admission filter on MSHEX!B1.

Five of the ten generated points passed the filter and were evaluated.

Five of the ten generated points passed the filter and were evaluated.

Launch a study and compare objectives

  1. Open the study and start the run. Confirmation saves the model version and the study settings. Dismissing the confirmation leaves the history as it was. For a local file, open a server-backed working copy first. If the run command is unavailable, read the reason and check the variable set, outputs, ranges and engine availability.
  2. Open the saved Оптимизация study to inspect its two objectives and constraints. Create a separate study for a short calculation. Vary mr_p from 290 to 310 kPa, maximize liquid LNG and retain the top three solutions. For the example, use four individuals in both the initial and subsequent populations, an elite count of one, tournament size two and a limit of two iterations. Review the remaining settings before submitting.
  3. Add a constraint on an active output. Select the operator, enter the bound in the displayed unit and supply a tolerance if the operator supports it. For example, the lower bound liquid LNG ≥ 0 permits a non-negative yield. Remove unwanted constraints. When the run finishes, inspect the best feasible points and the best objective value by iteration.
  4. To compare yield with energy consumption, keep liquid LNG as the first objective and enable a second objective that minimizes udel. Select a point on the Pareto chart and locate the highlighted row. Select another row and check its marker and both objective values. If there are no feasible points, review the bounds and constraints. Use point diagnostics for individual evaluation failures.

G76 infeasible requires both liquid LNG ≥ 0 kg/s and liquid LNG ≤ −1 kg/s. All 12 evaluations succeeded, and zero solutions met both constraints.

The model-save confirmation before submission.

The model-save confirmation before submission.

Objective, constraint and settings for the short optimization.

Objective, constraint and settings for the short optimization.

Three retained solutions from the single-objective optimization.

Three retained solutions from the single-objective optimization.

Two-objective results and the Pareto front for this attempt.

Two-objective results and the Pareto front for this attempt.

The attempt finished. Its constraints ruled out every solution.

The attempt finished. Its constraints ruled out every solution.

Read results and apply an operating point

  • Overview and attempts. In history, select the study run and the attempt number. Check the state, progress and frozen settings. After reopening the model, find that same run again. To cancel, choose an active attempt, confirm and wait for a terminal state. Repeating a terminal attempt reuses its frozen setup and creates a new attempt number. To change the ranges, submit a new run from the editor.
  • Diagnostics. A row error concerns that point. An attempt error describes the job as a whole. If the connection indicator reports delayed updates, refresh history when the connection returns. Check the attempt number and status before repeating the run.
  • Rows and units. In the results, select a point number and open its details. Check its outcome, inputs, outputs, units and quality indicators. A missing or unreliable value cannot be treated as a numerical zero. For an archive with more than 50 rows, open the next page and return to the previous one.
  • Apply a point. Record the original pressure in MSHEX!B1. Select a result with a complete set of inputs and apply it to a compatible working model. Open B1 and compare its new pressure with the selected X value in the same units. Recalculate the flowsheet to obtain the outputs. For an incompatible revision, you can still read the archive. Open the matching model revision or rerun the study for the changed flowsheet before applying a point.
  • CSV. Select the required attempt and save its CSV from the results tab. The suggested name includes the run ID and attempt number. Verify a point number and one numerical value using the SI unit in the column heading. The export covers the available archive, including rows beyond the current page. Read the confirmation for a partial archive. If an archive is still being prepared, check the attempt again later. Dismiss the save dialog to return to the selected row.

Check values for the working model

In LHS run 9c9f1f24-c4fa-43dc-a300-eb292a55c2d9, attempt 1, all ten points succeeded. At point 0, pressure was 389.087109 kPa and liquid LNG was 129.763649 kg/s. Before applying the point, MSHEX!B1 contained 259.012606 kPa. The mr_p [Pa] column in its CSV contains 389087.1092651539. Match records by point number. The export and the results grid may use different row orders.

Study in model 34 history Result
G76 grid / G76 mc Four successfully evaluated points in each study.
G76 filter Ten generated, five filtered out and five evaluated.
G76 one / G76 two Twelve successful evaluations and three retained points per run. The first Pareto front in the two-objective attempt contains one point.
G76 infeasible All twelve evaluations completed. Conflicting bounds excluded all feasible solutions.
G76 pages 51 points. A second page follows the first 50 rows.
G76 cancel Attempt 1 was cancelled. The repeat evaluated 51 points.

The four evaluated grid points.

The four evaluated grid points.

Frozen settings of the Monte Carlo run.

Frozen settings of the Monte Carlo run.

Details of point 0 in the saved LHS run.

Details of point 0 in the saved LHS run.

The second page of the 51-point archive.

The second page of the 51-point archive.

MSHEX!B1 before applying point 0.

MSHEX!B1 before applying point 0.

MSHEX!B1 after applying the inputs from point 0.

MSHEX!B1 after applying the inputs from point 0.

History after the structure of the open flowsheet was changed.

History after the structure of the open flowsheet was changed.

Trace the inputs and outputs on the flowsheet

Object Actions on the flowsheet What to read after calculation
Material stream NG-1 Choose a compatible pair of thermodynamic conditions. Specify the flow basis and composition separately. A vapour fraction of zero is a valid endpoint in a mode that accepts it. Hover over an unavailable field for the reason. Specified and calculated stream properties in the model units.
Valve VLV-1 and energy stream Choose either outlet pressure or pressure drop and enter the selected specification. Enter a signed power value on an editable energy stream in the practice copy. Check the valve outlet pressure and the sign of the saved power value.
Compressor PROP-C1 Check the inlet, outlet and energy connection. Choose compatible pressure or head and efficiency specifications. Compare outlet pressure, head, efficiency and power with the inlet conditions.
Expander in a local copy Add an expander and connect a specified inlet stream, a material outlet and an energy stream. Set an outlet pressure below the inlet pressure, enter the efficiency and calculate. Compare inlet and outlet pressure, head and power in the equipment results.
Heat exchanger PHX1 Follow one side from its inlet tag to its outlet and inspect the absolute or relative pressure drop. Connect both ends of a new side. In the solver, select outlet temperature, the temperature difference between two outlets, or UA as an active specification. For ΔT, select both sides in the intended order. Compare targets with calculated values. Read the axis units, minimum temperature approach and marker coordinates on the composite curves.
Recycle RCY-1 Select a variable, check the direction of transfer and its tolerance. Change one tolerance in the practice copy and calculate again. Compare the current error of that variable with its tolerance.
SET-1 Follow the signal from source property X to target setpoint Y. Select properties in the editor or drag a property with Alt. Check factor K and signed offset B in Y = K × X + B. An active SET controls the target setpoint. If an assignment conflicts, check which block already owns that target.
MR_SUPERHEAT-1 (Property) Select a material stream with a defined overall composition. Enable dew-point temperature and its difference from stream temperature. Calculate the source stream. Read dew-point temperature and superheat. If the source becomes unavailable, inspect the property status.
MSHEX and MR_COMPR spreadsheets Select B1 in MSHEX and trace the pressure exported to MR-11 before flowsheet calculation. Open MR_COMPR and locate an imported result after calculation. In a free cell in the practice copy, enter a number, then reference it in a formula in an adjacent cell. Compare the cell address, formula, value and quantity. For a formula error, correct the reference or cancel the edit. Reopen the model and verify the link direction.

Conditions and flow rate for the NG-1 feed stream.

Conditions and flow rate for the NG-1 feed stream.

The specification for valve VLV-1.

The specification for valve VLV-1.

Calculated performance of compressor PROP-C1.

Calculated performance of compressor PROP-C1.

PHX1 sides and connected streams.

PHX1 sides and connected streams.

PHX1 solver and specifications.

PHX1 solver and specifications.

Variables and tolerances of recycle RCY-1.

Variables and tolerances of recycle RCY-1.

Source, target and coefficients for SET-1.

Source, target and coefficients for SET-1.

Calculated properties of MR_SUPERHEAT-1.

Calculated properties of MR_SUPERHEAT-1.

The pressure link from MSHEX!B1 to MR-11.

The pressure link from MSHEX!B1 to MR-11.

A formula referencing another cell in the practice sheet.

A formula referencing another cell in the practice sheet.

Division by zero in the practice copy of the spreadsheet.

Division by zero in the practice copy of the spreadsheet.

MR_COMPR after flowsheet calculation.

MR_COMPR after flowsheet calculation.

Edit and save the working flowsheet

Select several connected objects and press 1 to turn them 90° clockwise. Check their ports and lines, save locally and reopen the copy. In the component wizard, search for a substance and double-click it to add it to the model.

In an editable cell, Enter commits the value, Esc cancels the draft, and Tab or Shift+Tab moves between fields. Undo a pasted range in one operation. If one of the pasted values is invalid, check the original values across the range and correct the input.

On the exchanger or optimization chart, zoom with the mouse wheel, pan, then reset the view. In the chart settings, adjust the grid, crosshair, axes and series appearance. Use a positive range for a logarithmic axis. Save the model and inspect the same equipment or study chart when you reopen it.

When opening an older model, check the restored objects and connections. If Desktop reports an unsupported format or unknown object type, retain the original file for diagnosis. If the server reports a newer revision, save your work locally and compare it with that revision before saving again. If Desktop cannot prepare the file, retain the detailed error message.

Axes and chart appearance for the selected study.

Axes and chart appearance for the selected study.