Skip to content

Commit

Permalink
Merge pull request #45 from cimug-org/revert-44-issue-39-generate-pdf
Browse files Browse the repository at this point in the history
Revert "Adds PDF artifact for offline viewing"
  • Loading branch information
tviegut authored Nov 28, 2023
2 parents bf65533 + 73f01e6 commit cacffed
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 83 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/generate-pdf.yml

This file was deleted.

15 changes: 0 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,3 @@ For Python, do `pip install mkdocs-material` then once installed, the basic comm
* `mkdocs -h` - Print help message and exit.

Once you have it running with either Docker or Python, you can view it by navigating to http://localhost:8000 on your browser.

## PDF Generation
A PDF copy of the CIM Modeling Guide is created using an `mkdocs` plugin called [`pdf-export`](https://github.com/zhaoterryy/mkdocs-pdf-export-plugin). To generate the PDF on Windows, install GTK runtime found [here](https://github.com/tschoonj/GTK-for-Windows-Runtime-Environment-Installer/releases). See [Weasyprint documentation](https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#installation) for other platforms such as Linux.

Then install the plugin
```cmd
pip install mkdocs-pdf-export-plugin
```

Finally, set the following environment variable and run the build
```cmd
set ENABLE_PDF_EXPORT=1
mkdocs build
```
The PDF will appear in the build output
Binary file added docs/images/media/image12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![](images/media/image1.png)
<img src="images/media/image1.png" style="width:3.02526in;height:1.41679in" />

**UCAIug**

Expand Down
31 changes: 16 additions & 15 deletions docs/section4-cim-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ The CIM UML is semantic information model that represents real-world physical el

CIM Management is a business function performed by the CIM Subcommittee of the UCAIug Technical Oversight Committee (see Figure 4‑1).

![](images/media/image2.jpeg)
<img src="/images/media/image2.jpeg" style="width:4.47551in;height:3.02727in" alt="http://www.ucaiug.org/aboutucaiug/ucaiugorg.jpg" />

<span id="_Ref529901341" class="anchor"></span>Figure 4‑1. UCA International Users Group Organization Chart

Expand Down Expand Up @@ -152,7 +152,8 @@ Continuous process improvement (CPI) is the ongoing process of improving the CIM

Mapping of the CIM management functions includes two (2) mappings of the CIM management functions. The first shows the mapping between CIM management functions and CIM management responsibilities assigned to the CIM Subcommittee with the UCAIug. The second shows the mapping between CIM management functions and the CIM management processes that realize those functions. The first mapping is shown in Figure 4‑2. The second mapping is discussed in Section 4.4 and shown in Figure 4‑9

![](images/media/image3.png)

<img src="/images/media/image3.png" style="width:5.53416in;height:3.21783in" />

<span id="_Ref1988984" class="anchor"></span>Figure 4‑2. CIM Management Functions-to-UCA CIM Responsibilities Mapping

Expand All @@ -178,7 +179,7 @@ CIM management processes are the realization of CIM management functions. There

<span id="_Ref2079526" class="anchor"></span>Figure 4‑4. Model Development Process Flow

![](images/media/image6.png)
<img src="/images/media/image6.png" style="width:7.78294in;height:2.33488in" />

<span id="_Ref1985784" class="anchor"></span>Figure 4‑5. Change Management Process

Expand All @@ -198,21 +199,21 @@ CIM management processes are the realization of CIM management functions. There

The mapping between CIM management functions and the CIM management processes are shown in Figure 4‑9.

![](images/media/image10.png)
<img src="/images/media/image10.png" style="width:7in;height:3.33194in" />

<span id="_Ref1994217" class="anchor"></span>Figure 4‑9. CIM Management Process-to-CIM Management Functions Mapping

The CIM Model Managers perform most of the tasks within the CIM management processes. There are however, other roles within the CIMug and IEC working groups that also perform CIM management tasks. The following table provides a description of each role and its mapping to CIM management processes.

| **Role** | **Role Description** | **MDP** | **CMP** | **DGP** | **ADP** | **CPIP** |
|----------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|---------|---------|---------|----------|
| CIMug Focus Community | This group role consists of individual CIMug members and IEC CIM Working Group members dedicated to developing CIM extensions that deal with a specific area of focus. | &check; | | | | |
| CIMug Project Team | This group role consists of individual CIMug members and IEC CIM Working Group members working on projects that are jointly funded by participating utilities or vendor companies. | &check; | | | | |
| CIMug Working Group | This group role consists of individual CIMug members working on issues of common interest to CIM Users. | &check; | | | | |
| IEC CIM Working Group | This group role consists of individuals appointed by their respective IEC National Committee (technical experts) that take part in the drafting of IEC standard working documents. | &check; | | &check; | | |
| IEC Working Group Project Leader | This individual role performed by an IEC Working Group member has overall responsibility for leading the development of a new edition of an international standard from the IEC proposal stage through to the IEC publication stage. | &check; | | &check; | | |
| IEC Working Group Convener | This individual role performed by an IEC Working Group member is responsible for arranging and leading face-to-face IEC Working Group meetings and providing working group oversight. | | &check; | | | &check; |
| Model Manager | This individual role performed by an individual that is a member of both the CIMug and an IEC Working Group has overall responsibility for artifacts under CIM management. | &check; | &check; | &check; | &check; | &check; |
| CIMug Focus Community | This group role consists of individual CIMug members and IEC CIM Working Group members dedicated to developing CIM extensions that deal with a specific area of focus. | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | | | | |
| CIMug Project Team | This group role consists of individual CIMug members and IEC CIM Working Group members working on projects that are jointly funded by participating utilities or vendor companies. | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | | | | |
| CIMug Working Group | This group role consists of individual CIMug members working on issues of common interest to CIM Users. | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | | | | |
| IEC CIM Working Group | This group role consists of individuals appointed by their respective IEC National Committee (technical experts) that take part in the drafting of IEC standard working documents. | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | | |
| IEC Working Group Project Leader | This individual role performed by an IEC Working Group member has overall responsibility for leading the development of a new edition of an international standard from the IEC proposal stage through to the IEC publication stage. | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | | |
| IEC Working Group Convener | This individual role performed by an IEC Working Group member is responsible for arranging and leading face-to-face IEC Working Group meetings and providing working group oversight. | | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | | | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> |
| Model Manager | This individual role performed by an individual that is a member of both the CIMug and an IEC Working Group has overall responsibility for artifacts under CIM management. | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> |

<span id="_Toc25586011" class="anchor"></span>Table 4‑3. Role-to-CIM Management Process Mapping

Expand Down Expand Up @@ -284,10 +285,10 @@ A mapping between the applicable IEC standards development stages and the CIM Ma

| | Proposal Stage | Preparatory Stage | Committee Stage | Enquiry Stage | Approval Stage | Publication Stage |
|-------------------------------|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
| Model Development Process | &check; | &check; | &check; | &check; | &check; | |
| Change Management Process | &check; | &check; | &check; | &check; | &check; | |
| Document Generation Process | | | &check; | &check; | &check; | |
| Artifact Distribution Process | | &check; | &check; | &check; | &check; | &check; |
| Model Development Process | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | |
| Change Management Process | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | |
| Document Generation Process | | | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | |
| Artifact Distribution Process | | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> | <img src="/images/media/image12.png" style="width:0.15518in;height:0.17674in" alt="Image result for check mark" /> |

#### 4.5.2.1 Draft Standards Preparation

Expand Down
10 changes: 5 additions & 5 deletions docs/section5-cim-uml-modeling-rules-and-recommendations.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ The top-level "CIM" (formerly TC57CIM) package is partitioned into sub-packages

Both the legacy and new top-level package structure are shown in Figure 5‑1 and Figure 5-2 respectively.

![](images/media/image13.png)
<img src="/images/media/image13.png" style="width:3.41667in;height:2.60417in" />

<span id="_Ref8597346" class="anchor"></span>Figure 5‑1 - TC57CIM Package Structure

![](images/media/image13-new.png)
<img src="/images/media/image13-new.png" style="width:3.41667in;height:2.60417in" />

<span id="_Ref8597347" class="anchor"></span>Figure 5‑2 - CIM Package Structure (New)

Expand Down Expand Up @@ -213,15 +213,15 @@ Types used for attributes in a class introduce dependencies that must be coordin
</tbody>
</table>

![](images/media/image14.png)
<img src="../images/media/image14.png" style="width:7in;height:6.96944in" />

<span id="_Ref532235977" class="anchor"></span>Figure 5‑3. Top-level CIM (formerly TC57CIM) Package Dependencies

### 5.2.4 Package Assembly Rules

Each working group edits what it owns and merges what others own. With three working groups this results in six possible ways to exchange portioned model files between the groups as shown in Figure 5-4.

![](images/media/image15.png)
![](../images/media/image15.png)

Figure 5-4 - Possible partition file exchanges between WG13, WG14 and WG16

Expand All @@ -239,7 +239,7 @@ The procedure to update a package with a partition file corresponds to an arrow

To properly obtain the correct UML package versions in a synchronized model, one can follow the steps in Figure 5-5. Complete synchronisation can be achieved by copying whole models as shown in Figure 5-5.

![](images/media/image16.png)
![](../images/media/image16.png)

Figure 5-5 Complete synchronisation example

Expand Down
12 changes: 6 additions & 6 deletions docs/section6-cim-uml-extension-rules-and-recommendations.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ It is recommended to utilize existing data types and CIM classes where possible.

The typical case of adding a new extension class and associating with existing standard classes is can be modeled in a diagram within the extension package as shown in Figure 10 Example UML model for extension class with association to standard class. This situation does not require multiple inheritance.

![](images/media/image17.png)
<img src="/images/media/image17.png" style="width:4.75in;height:0.775in" />

Figure Example UML model for extension class with association to standard class

Expand All @@ -38,13 +38,13 @@ The new attributes or associations can be added to the new extension class and t

A new attribute is effectively added to an existing CIM class within the new extension package using a diagram within the extension package as shown in Figure 11 Example UML model for attribute extensions to standard CIM classes.

![](images/media/image18.png)
<img src="/images/media/image18.png" style="width:4.15in;height:2.28333in" />

Figure Example UML model for attribute extensions to standard CIM classes.

A new association can be effectively between two standard CIM classes by introducing one of the classes as an extension class in the extension package then making the association to the other class. There is no guidance on which end to chose as the extension class and it may be driven by having already added one of the extension classes to the extension package for other purposes. A diagram in the extension package can be used as shown in Figure 12 Example UML model for association extensions to standard CIM classes. If both classes are already extension classes, the association should be added between the two extension classes for better modularity.

![](images/media/image19.png)
<img src="/images/media/image19.png" style="width:4.90833in;height:2.14167in" />

Figure Example UML model for association extensions to standard CIM classes

Expand Down Expand Up @@ -210,15 +210,15 @@ Inherited association ends should have unique names.
| Rule203 | Inherited association ends shall have unique role names. |
| Rule204 | Associations between CIM extension classes and high-level standard CIM classes should be minimized. |

![](images/media/image20.png)
<img src="/images/media/image20.png" style="width:5.63665in;height:1.92055in" />

<span id="_Ref22115672" class="anchor"></span>Figure 6‑1. Example of two associations between two classes

![](images/media/image21.png)
<img src="/images/media/image21.png" style="width:4.03297in;height:1.4439in" />

<span id="_Ref22115886" class="anchor"></span>Figure 6‑2. Example of self-association

![](images/media/image22.png)
<img src="/images/media/image22.png" style="width:4.50702in;height:2.74166in" />

<span id="_Ref22115402" class="anchor"></span>Figure 6‑3. Allowed duplication of association end names

Expand Down
6 changes: 0 additions & 6 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ markdown_extensions:
- admonition
- tables
- pymdownx.details
plugins:
- search
- pdf-export:
enabled_if_env: ENABLE_PDF_EXPORT
combined: true
combined_output_path: CIM Modeling Guide.pdf
nav:
- 'index.md'
- 'section1-introduction.md'
Expand Down

0 comments on commit cacffed

Please sign in to comment.