> For the complete documentation index, see [llms.txt](https://devdocs.olisystems.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devdocs.olisystems.com/chemistry-model-files/chembuilder-api/getting-started-with-chembuilder/include-inflows/include-pseudocomponent.md).

# Include Pseudocomponent

Individual pseudocomponents with specific properties can be added to the inflow if distillation data is unavailable. The "type" must be set as "pseudo" to add a pseudocomponent JSON object. Users can customize the pseudocomponent name using the "name" field.

Below is a sample input to add a pseudocomponent to the inflow:

```json
{ 
	"inflows": [
	{
	     "name": "H2O"
	}, 
    	{
            "name": "PSEUDOAA",
            "type": "pseudo",
            "enabled": true,
            "data": {
		"thermodynamicMethod": "API-8",
		"normalBoilingPoint": {
			"unit": "°C",
			"value": 69.0,
			"enabled": true
		},
		"specificGravity": {
			"value": 1.2,
			"enabled": false
		},
		"molecularWeight": {
			"value": 86.0,
			"enabled": true
		},
		"criticalTemperature": { 
			"value": 379,
			"unit": "°C",
			"enabled": true
		},  
		"criticalPressure": { 
			"unit": "atm",
			"value": 217,
			"enabled": true
		}, 
		"criticalVolume": { 
			"unit": "L", 
			"value": 0.057,
			"enabled": true
		}, 
		"acentric": { 
			"value": 0.34,
			"enabled": true
		}
		}
	    } 
	]	
} 
```

<table><thead><tr><th width="182" align="center">Pseudocomponent</th><th width="152" align="center">required</th><th width="133">type</th><th>description</th></tr></thead><tbody><tr><td align="center">name</td><td align="center"><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td><td>String</td><td>A name provided by the user for this input assay.</td></tr><tr><td align="center">type</td><td align="center"><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td><td>String</td><td>This field is used to identify the type of inflow. Allowed values include "assay" or "pseudo".</td></tr><tr><td align="center">data</td><td align="center"><span data-gb-custom-inline data-tag="emoji" data-code="2714">✔️</span></td><td>JSON Object</td><td>Contains the user-defined input for an assay.</td></tr></tbody></table>

### Optional Properties

| data                | required | type        |
| ------------------- | :------: | ----------- |
| thermodynamicMethod |    :x:   | String      |
| normalBoilingPoint  |    :x:   | JSON Object |
| specificGravity     |    :x:   | JSON Object |
| molecularWeight     |    :x:   | JSON Object |
| criticalTemperature |    :x:   | JSON Object |
| criticalPressure    |    :x:   | JSON Object |
| criticalVolume      |    :x:   | JSON Object |
| accentric           |    :x:   | JSON Object |

## A few key points to remember are:

{% hint style="info" %}
The "type" must be specified as either "assay" or "pseudo". Otherwise, the species is treated as a regular inflow species.
{% endhint %}

{% hint style="info" %}
The supported thermodynamic methods are `API-8`, `API-5`, `Cavett`, and `Kessler`.
{% endhint %}

{% hint style="info" %}
A minimum of 2 of the folllowing properties "`normalBoilingPoint`", "`specificGravity`", and "`molecularWeight`" are required.
{% endhint %}

{% hint style="info" %}
All supercritical properties are optional and can be disabled.
{% endhint %}

{% hint style="info" %}
The pseudo object and its associated input JSON object can be enabled or disabled using ["enabled" Keyword](/chemistry-model-files/chembuilder-api/supporting-information-for-chembuilder/enabled-keyword.md)
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://devdocs.olisystems.com/chemistry-model-files/chembuilder-api/getting-started-with-chembuilder/include-inflows/include-pseudocomponent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
