Class PhaseEnvelopeRunner
java.lang.Object
neqsim.mcp.runners.PhaseEnvelopeRunner
Stateless phase envelope runner for MCP integration.
Calculates the PT phase envelope (bubble point and dew point curves) for a fluid mixture and returns the data as a JSON array of points. This is one of the most commonly requested single-purpose engineering calculations for agents.
Input JSON Format:
{ "model": "SRK", "components": {"methane": 0.85, "ethane": 0.10, "propane": 0.05},
"mixingRule": "classic" } - Author:
- Even Solbraa @version 1.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePrivate constructor — all methods are static. -
Method Summary
-
Field Details
-
GSON
private static final com.google.gson.Gson GSON
-
-
Constructor Details
-
PhaseEnvelopeRunner
private PhaseEnvelopeRunner()Private constructor — all methods are static.
-
-
Method Details
-
run
-
errorJson
-