Skip to content

Commit

Permalink
Merge pull request #4 from GreenDelta/minor-fixes
Browse files Browse the repository at this point in the history
Small fixes
  • Loading branch information
ruetha authored Mar 20, 2024
2 parents 679b03e + eb39f66 commit a1a79cf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
- [Life Cycle Costing](advanced_top/LCC.md)
- [Data Quality](advanced_top/data_quality.md)
- [Social aspects](advanced_top/social_aspects.md)
- [Formula interpreter](advanced_top/formulas_in_openlca.md)
- [Constants, operators and functions for formulas in openLCA](advanced_top/formulas_in_openlca.md)
- [Environmental Product Declarations (EPDs)](epds/README.md)
- [Creating new processes for target products](epds/create_processes_for_target_products.md)
- [Create product systems from your processes](epds/create_product_systems_from_processess.md)
Expand Down
2 changes: 1 addition & 1 deletion src/advanced_top/formulas_in_openlca.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ When you add a formula in openLCA (e.g. in the amount cell of Inputs/Outputs tab
## Operators

| Precedence | Operator | Description | Example |
|------------|----------|-----------------|----------------|
|:-----------|:---------|:----------------|:---------------|
| 7 | - (unary)| negation | -1 #> -1 |
| 6 | ^ | exponentiation | 2^3 #> 8 |
| 5 | * | multiplication | 2*2 #> 4 |
Expand Down
13 changes: 6 additions & 7 deletions src/allocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ Moreover, we also provide the following technical solutions:
Below is an example illustrating how the three different methods are applied in openLCA. In this example, 1 kg of wood and 0.3 kg of bark are produced from 1 kg of saw log (measured as solid wood under bark).

![](./media/allocation_example_inputs_outputs.png)
_Inputs and Outputs for our example, note that economic properties have been added_
<br>_Inputs and Outputs for our example, note that economic properties have been added_

The allocation factors for physical, causal and economic allocation can be viewed/altered in the "Allocation" tab of a process. Select the "Calculate factors" button and the software will automatically calculate the values for the three allocation methods.

![](./media/allocation_example_allocation_tab_calculation_button.png)
_The "Allocation" tab with the "Calculate factors" button_
<br>_The "Allocation" tab with the "Calculate factors" button_

![](./media/allocation_example_calculation_tab.png)
_Calculate factors_
<br>_Calculate factors_

- The physical allocation factors are calculated based on the ratio between the products (wood and bark) physical unit. Since the output of wood and bark is 1 kg and 0.3 kg respectively, the allocation factors become 0.77 and 0.23.

Expand All @@ -42,8 +42,7 @@ _Calculate factors_
- In the case of economic allocation, we assume a revenue of 1$/kg for wood and 0.4$/kg for bark.

![](./media/allocation_example_calculated_factors.png)

_Calculated allocation factors. Causal allocation has to be inserted manually, else it will by default get the physical allocation factors._
<br>_Calculated allocation factors. Causal allocation has to be inserted manually, else it will by default get the physical allocation factors._

_**Note:**_ For allocation to work, the main product and the by-products need to have the same flow property.

Expand All @@ -54,11 +53,11 @@ _**Note:**_ When a currency is unavailable, a new currency can be created under
Applying system expansion means that the process you are modeling is credited with the impact that is avoided by supplying the by-product. For example: if a process produces electricity and has heat as a by-product, it can be credited with the load that would appear if this heat was supplied from elsewhere. In openLCA, this can be performed by checking the box of "Avoided product" for the by-product.

![](./media/avoided_example_check.png)
_Avoided product check box highlighted in the Inputs/Outputs tab_
<br>_Avoided product check box highlighted in the Inputs/Outputs tab_

It is important that a process providing the avoided product flow exists. This provider then occurs in the "[Model graph](./prod_sys/model_graph.md)" when creating the "[Product system](./prod_sys/Creating.md)", but as a supplier of the output side of our example process.

![](./media/avoided_example_model_graph.png)
_The model graph where heat is accounted for as avoided and has a respective provider besides it is an output of the process_
<br>_The model graph where heat is accounted for as avoided and has a respective provider besides it is an output of the process_

</div>
4 changes: 2 additions & 2 deletions src/parameters/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ To create an **Input and Dependent parameter**:
1. Open the "Parameters" tab of an open process.
2. Select the "+" at the top right-hand corner of the input/dependent parameters section.
3. Assign a name, value, uncertainty (for an input parameter) and description.
4. In case of a dependent parameters, a formula can be used linking it to the parameters it is dependent on.
4. In case of a dependent parameters, a formula can be used linking it to the parameters it is dependent on. To write a correct formula, you can check the accepted constants, operators and functions in this [chapter](../advanced_top/formulas_in_openlca.md).

**_Note:_** An input/dependent parameter can be converted into a global parameter by right clicking on it and selecting "convert to global parameter" (**_new!_**).

Expand All @@ -58,6 +58,6 @@ _**Note:**_ Use the **formula interpreter** ("Tools" section in "[Running openLC

- When you edit a parameter name or value, it will now be automatically updated throughout the database, e.g. if the parameter is used in a formula of a dependent parameter, it will automatically change.

- Parameter sets: create some parameters, assign values meant for different scenarios and then save those scenarios and choose them within the same product system. An example is provided in the parameter section of the sectio [Product systems](../prod_sys/index.html).
- Parameter sets: create some parameters, assign values meant for different scenarios and then save those scenarios and choose them within the same product system. An example is provided in the parameter section of the section [Product systems](../prod_sys/index.html).

</div>

0 comments on commit a1a79cf

Please sign in to comment.