Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

idaes

БесплатноЗапускает вложенные скриптыНе проверен

Comprehensive guidance for using IDAES (Institute for the Design of Advanced Energy Systems) for process systems engineering. Covers flowsheet modeling…

jkitchinот jkitchin★ 45 звёзд на GitHub19 установок в других каталогах

Об этом скилле

IDAES Process Systems Engineering

Systematic guidance for using IDAES to model, simulate, and optimize chemical processes and energy systems.

IDAES Workflow

1. Identify Task Type

What do you want to do?

Getting Started:

  • Install and setup → references/installation.md
  • Understand core concepts → references/core-concepts.md
  • First flowsheet → examples/simple_flowsheet.py

Flowsheet Development:

  • Build basic flowsheet → references/flowsheets.md
  • Add unit models → references/unit-models.md
  • Connect streams → references/flowsheets.md
  • Set up material/energy balances → references/flowsheets.md
  • Add time-dependent behavior → references/dynamic-modeling.md

Property Modeling:

  • Select property package → references/property-packages.md
  • Configure components and phases → references/property-packages.md
  • Define thermodynamic methods → references/property-packages.md
  • Add reaction packages → references/property-packages.md
  • Create custom properties → references/custom-models.md

Unit Operations:

  • Use generic models (mixers, splitters, heaters) → references/generic-models.md
  • Model power generation equipment → references/power-generation.md
  • Set up gas-solid contactors → references/gas-solid-models.md
  • Configure separations → references/generic-models.md
  • Add reactors → references/generic-models.md

Solving and Optimization:

  • Initialize models → references/initialization.md
  • Solve flowsheets → references/solving.md
  • Run optimization → references/optimization.md
  • Perform parameter estimation → references/parameter-estimation.md
  • Data reconciliation → references/parameter-estimation.md

Diagnostics and Scaling:

  • Diagnose model issues → references/diagnostics.md
  • Apply scaling → references/scaling.md
  • Identify structural problems → references/diagnostics.md
  • Fix convergence issues → references/solving.md

Analysis:

  • Calculate process economics → references/costing.md
  • Perform sensitivity analysis → references/optimization.md
  • Analyze results → examples/analysis.py
  • Generate reports → examples/reporting.py

2. Core IDAES Workflow

Basic pattern:

# 1. Import IDAES modules
from pyomo.environ import ConcreteModel
from idaes.core import FlowsheetBlock
from idaes.models.properties import iapws95
from idaes.models.unit_models import Heater

# 2. Create model and flowsheet
m = ConcreteModel()
m.fs = FlowsheetBlock(dynamic=False)

# 3. Add property package
m.fs.properties = iapws95.Iapws95ParameterBlock()

# 4. Add unit models
m.fs.heater = Heater(property_package=m.fs.properties)

# 5. Set inputs
m.fs.heater.inlet.flow_mol.fix(100)  # mol/s
m.fs.heater.inlet.pressure.fix(101325)  # Pa
m.fs.heater.inlet.enth_mol.fix(5000)  # J/mol
m.fs.heater.heat_duty.fix(10000)  # W

# 6. Initialize
m.fs.heater.initialize()

# 7. Solve
from idaes.core.solvers import get_solver
solver = get_solver()
results = solver.solve(m)

# 8. Display results
m.fs.heater.outlet.display()

Quick Reference - Common Tasks

Create flowsheet: FlowsheetBlock(dynamic=False) - Main container for process model Add unit model: m.fs.unit = UnitModel(property_package=m.fs.props) Fix variables: m.fs.unit.inlet.flow_mol.fix(100) - Specify known values Initialize model: m.fs.unit.initialize() - Set up for solving Solve flowsheet: solver.solve(m) - Get solution Run diagnostics: DiagnosticsToolbox(m).report_structural_issues() Apply scaling: iscale.calculate_scaling_factors(m) Optimize: Set up objective and use solver or optimization tools

Detailed examples for all tasks in reference files.

Task Routing

Core Concepts and Architecture

Route to: references/core-concepts.md

When:

  • Understanding IDAES architecture
  • Learning about flowsheet structure
  • Understanding control volumes
  • Working with state blocks
  • Understanding the modeling framework

Key concepts:

  • FlowsheetBlock
  • Property packages and state blocks
  • Unit models and control volumes
  • Ports and Arcs for connectivity
  • Time domains for dynamic models

Flowsheet Construction

Route to: references/flowsheets.md

When:

  • Building process flowsheets
  • Connecting unit operations
  • Setting up material/energy streams
  • Creating process flow diagrams
  • Organizing hierarchical flowsheets

Key components:

  • FlowsheetBlock creation
  • Arc connections between units
  • Port specification
  • Degrees of freedom analysis
  • Flowsheet visualization

Property Packages

Route to: references/property-packages.md

When:

  • Selecting thermodynamic methods
  • Configuring component properties
  • Setting up phase equilibrium
  • Defining mixture properties
  • Working with specialized systems (water/steam, combustion gases, etc.)

Available packages:

  • IAPWS95 (water/steam)
  • Ideal gas mixtures
  • Modular property framework
  • Cubic equations of state
  • Electrolyte solutions (eNRTL)

Полный SKILL.md на GitHub

Установить idaes в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

*

Вложенные файлы

README.mdexamples/flash_separation.pyexamples/simple_heater.pyreferences/core-concepts.mdreferences/diagnostics.mdreferences/flowsheets.mdreferences/initialization.mdreferences/scaling.md

FAQ

Что делает скилл idaes?

Comprehensive guidance for using IDAES (Institute for the Design of Advanced Energy Systems) for process systems engineering. Covers flowsheet modeling, property packages, unit models, optimization, scaling, initialization, and diagnostics. Use when working with chemical process simulations, energy systems modeling, power plant design, material and energy balances, or process optimization. Triggers include 'IDAES', 'flowsheet', 'process model', 'unit operation', 'process optimization', 'property package', 'energy systems', or process engineering tasks.

Как установить скилл idaes?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл idaes запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить idaes с