Class FieldDevelopmentRunner
java.lang.Object
neqsim.mcp.runners.FieldDevelopmentRunner
Stateless field development economics runner for MCP integration.
Supports cash flow analysis with multiple fiscal regimes (Norwegian NCS, UK, Brazil, US-GOM), production profile generation with exponential/hyperbolic/harmonic decline, and breakeven analysis.
- Version:
- 1.0
- Author:
- Even Solbraa
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePrivate constructor — all methods are static. -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringCreates a standard error JSON string.parseYearProfile(com.google.gson.JsonObject obj) Parses a JSON object of year:value pairs into a Map.static StringRuns a field development economics calculation from a JSON input.private static StringrunCashFlow(com.google.gson.JsonObject input) Runs a full cash flow analysis.private static StringrunProductionProfile(com.google.gson.JsonObject input) Generates a production profile using decline curve analysis.
-
Field Details
-
GSON
private static final com.google.gson.Gson GSON
-
-
Constructor Details
-
FieldDevelopmentRunner
private FieldDevelopmentRunner()Private constructor — all methods are static.
-
-
Method Details
-
run
Runs a field development economics calculation from a JSON input.Supports two modes:
- "cashflow" — full NPV/IRR/payback analysis with annual cash flow breakdown
- "productionProfile" — generate decline curve production profiles
- Parameters:
json- the JSON field development specification- Returns:
- a JSON string with the economics results
-
runCashFlow
Runs a full cash flow analysis.- Parameters:
input- the JSON input object- Returns:
- the cash flow results as JSON
-
runProductionProfile
Generates a production profile using decline curve analysis.- Parameters:
input- the JSON input object- Returns:
- the production profile as JSON
-
parseYearProfile
-
errorJson
-