A simple xml structure for representing process flows and is used to generate process flow diagrams.
Process Flow (top-bottom) | Process flow (left-right) |
---|---|
Xml: Source
<ProcessFlow>
<Area name='Auxiliaries'>
<Consumable name='Water'/>
<Consumable name='Energy'/>
<Consumable name='Energy'/>
<Link to='Concentrator' />
<Link to='Smelter' />
</Area>
<Area name='Concentrator'>
<Input name='Ore'/>
<Waste name='Waste'/>
<Flow to='Smelter'/>
</Area>
<Area name='Smelter'>
<Waste name='Slag'/>
<Output name='Product'/>
</Area>
</ProcessFlow>
Source: xml
Source: xml
Source: xml
Input | Output | Consumable | Waste |
---|---|---|---|
Flow | Link |
---|---|
Input flow for the process.
- name = name of the flow
Xml: Source
<ProcessFlow name='Example: Input'>
<Area name='Site'>
<Input name='Ore'/>
</Area>
</ProcessFlow>
Output flow for the process.
- name = name of the flow
Xml: Source
<ProcessFlow name='Example: Output'>
<Area name='Site'>
<Output name='Product'/>
</Area>
</ProcessFlow>
Consumable flow for the process.
- name = name of the flow
Xml: Source
<ProcessFlow name='Example: Consumable'>
<Area name='Site'>
<Consumable name='Water'/>
</Area>
</ProcessFlow>
Waste flow for the process.
- name = name of the flow
Xml: Source
<ProcessFlow name='Example: Waste'>
<Area name='Site'>
<Waste name='Waste'/>
</Area>
</ProcessFlow>
Generic flow for the process. to or flow is required.
- to = Where the flow goes to (name of the area)
- from = Where the flow comes from (name of the area)
Xml: Source
<ProcessFlow name='Example: Flow'>
<Area name='Site 1'>
<Flow to='Site 2'/>
</Area>
<Area name='Site 2'>
<Flow to='Site 3'/>
</Area>
<Area name='Site 3'>
<Flow from='Site 1'/>
</Area>
</ProcessFlow>
Link between the two areas. (@to or @from is required)
- to = Where the link goes to (name of the area)
- from = Where the link comes from (name of the area)
Xml: Source
<ProcessFlow name='Example: Link between 1 and 3'>
<Area name='Site 1'>
<Flow to='Site 2'/>
</Area>
<Area name='Site 2'>
<Flow to='Site 3'/>
</Area>
<Area name='Site 3'>
<Link from='Site 1'/>
</Area>
</ProcessFlow>