> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# global_energy_ratio class

**Namespace:** [Ans.DataProcessing.operators.result](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/result)

## Summary

Read Global Energy Ratio (LSDyna) by calling the readers defined by the datasources.

available inputs: `streams_container` (StreamsContainer) (optional), `data_sources` (DataSources), `unit_system` (Int32, string) (optional)

available outputs: `fields_container` (FieldsContainer)

## Example

```python theme={null}
op = global_energy_ratio()

op = global_energy_ratio(data_sources=my_data_sources,unit_system=my_unit_system)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.result` |
| Assembly | `Ans_Dpf_Native_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### streams\_container

result file container allowed to be kept open to cache data

**Type:** *LinkableInput*

### data\_sources

result file path container, used if no streams are set

**Type:** *LinkableInput*

### unit\_system

(LSDyna) Unit System ID (int), semicolon-separated list of base unit strings (str) or UnitSystem instance

**Type:** *LinkableInput*

## Outputs

### fields\_container

**Type:** *LinkableOutput*

## Constructors

#### Constructor

```python theme={null}
global_energy_ratio()
```

#### Constructor

```python theme={null}
global_energy_ratio(data_sources, unit_system, config)
```

**Parameters:**

* `data_sources` (*object*)
* `unit_system` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
global_energy_ratio(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
