xiaohongshu
xiaohongshu
co2lpm
Validates code and provides physics reasoning for the 0-D CO2 lumped-parameter model for geothermal reservoirs. Use when modifying ODE solvers, parameter classes, emissions calculations, or concentration dynamics. Also use when debugging simulation behavior, explaining physics concepts, or planni...
Full skill instructions
This skill provides physics knowledge for the 0-D CO2 lumped-parameter model implemented in the co2lpm package.
The model tracks reservoir CO2 concentration over time during geothermal extraction. Key state variables:
| Variable | Symbol | Meaning | Units |
|---|---|---|---|
| Pressure | P(t) | Reservoir pressure (relative to hydrostatic) | Pa |
| Concentration | C(t) | CO2 mass fraction in reservoir fluid | kg/kg |
| Upflow rate | q_up | Mass rate into reservoir from depth | kg/s |
| Outflow rate | q_out | Mass rate leaving reservoir to surface | kg/s |
For detailed equations, see EQUATIONS.md. For symbol definitions and units, see SYMBOLS.md. For derivation logic, see DERIVATIONS.md. For edge cases and sanity checks, see SANITY_CHECKS.md.
Use this workflow when reviewing or planning code changes.
Determine which equations from EQUATIONS.md are affected by the change:
Using SYMBOLS.md, verify that:
Changes must preserve:
Verify the change doesn't violate sanity checks S1-S5 in SANITY_CHECKS.md.
Summarize:
Use this workflow when explaining behavior, debugging, or proposing solutions.
| Module | Purpose | Key Functions/Classes |
|---|---|---|
model.py | Core LPM class | LumpedParameterModel, StateArrays |
parameters.py | Dataclasses for inputs | ReservoirParams, OperationParams, ChemistryParams |
solvers.py | ODE/DDE solvers | pressure_exp, integrate_ode, dde_solve |
postproc.py | Emissions calculation | emissions() |
utils.py | CO2 solubility | solubility_linear, solubility_slope_vs_T |
scenarios.py | Preset configurations | high_gas(), low_gas(), delay_demo() |
These must always hold:
| Scenario | Key Parameters | Behavior |
|---|---|---|
| High-gas (Ohaaki-like) | degas=True, high C0 | Solubility-limited, significant degassing |
| Low-gas (Wairakei-like) | degas=False, low C0 | No degassing, concentration dilutes |
| Concentrating | fC < critical | CO2 accumulates in reservoir |
| Diluting | fC > critical | CO2 decreases in reservoir |
| Reversal | fq*q0 > q0c | Outflow reverses direction |
| Delay | tau > 0 | Breakthrough lag, DDE dynamics |
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience