界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

skill-097

skill-097

【开发与工程】Simulate chemical reactions and predict outcomes based on provided reactants, conditions, and chemical properties.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: skill-097 description: Simulate chemical reactions and predict outcomes based on provided reactants, conditions, and chemical properties. license: Proprietary. LICENSE.txt has complete terms

Chemical Reaction Simulator Guide

Overview

This skill allows users to simulate chemical reactions by inputting reactants, conditions, and chemical properties. The output includes predicted products and reaction yield, enabling chemists to hypothesize outcomes and optimize conditions for desired results.

Input Parameters

To use this simulator, you need to specify the following parameters:

  • Reactants: List of chemical compounds involved in the reaction.
  • Conditions: Temperature, pressure, and any catalysts that may influence the reaction.
  • Chemical Properties: Specific properties of the reactants such as solubility, state of matter, etc.

Quick Start

from reaction_simulator import ReactionSimulator

# Initialize the reaction simulator
simulator = ReactionSimulator()

# Define reactants and conditions
reactants = ["H2", "O2"]
conditions = {"temperature": 300, "pressure": 1}

# Run the simulation
products = simulator.simulate(reactants, conditions)
print(products)

Reaction Prediction

The simulator predicts the products and potential yield of the reaction:

# Example of predicting a reaction
reactants = ["C6H12O6", "O2"]
conditions = {"temperature": 37, "pressure": 1}

# Simulate the reaction
predicted_products = simulator.predict(reactants, conditions)
print(f"Predicted Products: {predicted_products}")

Advanced Features

Kinetics and Thermodynamics

The simulator can also compute reaction kinetics and thermodynamic properties if you provide the necessary data:

kinetic_data = {"activation_energy": 50, "frequency_factor": 1e12}
thermo_data = {"enthalpy_change": -280, "entropy_change": -200}

# Calculate kinetics and thermodynamics
results = simulator.advanced_calculation(reactants, conditions, kinetic_data, thermo_data)
print(results)

For detailed guidance on input parameters and simulation options, refer to the detailed documentation at docs/reaction_simulator.md.

我的收藏