Skip to main content
Glama

MoziChem-MCP

calc_fugacity_gas_mixture

Calculate the fugacity of gas mixtures using equation of state models like PR, SRK, RK, or vdW. Input temperature, pressure, and component properties for precise thermodynamic modeling.

Instructions

This function calculates the fugacity of a mixture of gases using different equation of states (EOS) including Peng-Robinson (PR), Soave-Redlich-Kwong (SRK), Redlich-Kwong (RK), and van der Waals (vdW).

Input Schema

NameRequiredDescriptionDefault
componentsYesList of components with their properties
eos_modelNoEOS model to use, e.g., 'SRK', 'PR'SRK
pressureYesPressure of the system
temperatureYesTemperature of the system

Input Schema (JSON Schema)

{ "$defs": { "Component": { "description": "Component model for input validation", "properties": { "formula": { "description": "Chemical formula of the component", "title": "Formula", "type": "string" }, "mole_fraction": { "default": 1, "description": "Mole fraction of the component in a mixture, if applicable", "title": "Mole Fraction", "type": "number" }, "name": { "description": "Name of the component", "title": "Name", "type": "string" }, "state": { "description": "State of the component: 'g' for gas, 'l' for liquid, 's' for solid", "enum": [ "g", "l", "s" ], "title": "State", "type": "string" } }, "required": [ "name", "formula", "state" ], "title": "Component", "type": "object" }, "Pressure": { "description": "Pressure model for input validation", "properties": { "unit": { "description": "Pressure unit, e.g., 'bar', 'atm', 'Pa'", "title": "Unit", "type": "string" }, "value": { "description": "Pressure value", "title": "Value", "type": "number" } }, "required": [ "value", "unit" ], "title": "Pressure", "type": "object" }, "Temperature": { "description": "Temperature model for input validation", "properties": { "unit": { "description": "Temperature unit, e.g., 'K', 'C', 'F'", "title": "Unit", "type": "string" }, "value": { "description": "Temperature value", "title": "Value", "type": "number" } }, "required": [ "value", "unit" ], "title": "Temperature", "type": "object" } }, "properties": { "components": { "description": "List of components with their properties", "items": { "$ref": "#/$defs/Component" }, "title": "Components", "type": "array" }, "eos_model": { "default": "SRK", "description": "EOS model to use, e.g., 'SRK', 'PR'", "enum": [ "PR", "SRK", "RK", "vdW" ], "title": "Eos Model", "type": "string" }, "pressure": { "$ref": "#/$defs/Pressure", "description": "Pressure of the system", "title": "Pressure" }, "temperature": { "$ref": "#/$defs/Temperature", "description": "Temperature of the system", "title": "Temperature" } }, "required": [ "components", "temperature", "pressure" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sinagilassi/mozichem-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server