Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,9 @@ defaults:
type: "wiki" # Apply specifically to files in the 'wiki' collection
values:
giscus_comments: true # Set giscus_comments to true by default
edit: true # Turn on edit button for wiki pages
layout: wiki # Use the 'wiki' layout for wiki term pages
bibliography: papers.bib # Use the 'papers.bib' bibliography file for wiki term pages

sass:
style: compressed
Expand Down Expand Up @@ -643,3 +646,9 @@ jsonresume:
- languages
- interests
- references

# -----------------------------------------------------------------------------
# Edit this page button
# -----------------------------------------------------------------------------
repo: ps-wiki/ps-wiki.github.io # your GitHub repo name
branch: main # your GitHub branch name
42 changes: 0 additions & 42 deletions _layouts/distill.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@
{% endif %}

<d-article>
{% if page.last_update %}
<p>Last Updated: {{ page.last_update | date: '%B %d, %Y' }}</p>
<hr style="margin:0.5em;">
{% endif %}
{% if page.toc %}
<d-contents>
<nav class="l-text figcaption">
Expand All @@ -93,44 +89,6 @@
</d-contents>
{% endif %}
{{ content }}

{% assign sorted_wiki_terms = site.wiki | sort: 'title' %}

{% assign current_page_url_normalized = page.url | relative_url | replace_first: site.baseurl, '' | strip | split: '#' | first %}

{% assign previous_page = null %}
{% assign next_page = null %}
{% assign found_current_page = false %}

{% for wiki_page in sorted_wiki_terms %}
{% assign wiki_page_url_normalized = wiki_page.url | relative_url | replace_first: site.baseurl, '' | strip | split: '#' | first %}

{% if found_current_page %}
{% assign next_page = wiki_page %}
{% break %}
{% endif %}

{% if wiki_page_url_normalized == current_page_url_normalized %}
{% assign found_current_page = true %}
{% else %}
{% assign previous_page = wiki_page %}
{% endif %}
{% endfor %}

<div class="wiki-navigation-pointers mt-5">
<div class="navigation-links">
{% if previous_page %}
<p class="previous-link">
<a href="{{ previous_page.url | relative_url }}">Previous: {{ previous_page.title }}</a>
</p>
{% endif %}
{% if next_page %}
<p class="next-link">
<a href="{{ next_page.url | relative_url }}">Next: {{ next_page.title }}</a>
</p>
{% endif %}
</div>
</div>
</d-article>

<d-appendix>
Expand Down
160 changes: 160 additions & 0 deletions _layouts/wiki.liquid
Original file line number Diff line number Diff line change
@@ -0,0 +1,160 @@
<!doctype html>
<html>
<head>
{% include head.liquid %}

<!-- Distill js -->
<script src="{{ '/assets/js/distillpub/template.v2.js' | relative_url }}"></script>
<script src="{{ '/assets/js/distillpub/transforms.v2.js' | relative_url }}"></script>
{% if page._styles %}
<!-- Page/Post style -->
<style type="text/css">
{{ page._styles }}
</style>
{% endif %}
</head>

<d-front-matter>
<script async type="text/json">
{
"title": "{{ page.title }}",
"description": "{{ page.description }}",
"published": "{{ page.date | date: '%B %d, %Y' }}",
"authors": [
{% for author in page.authors %}
{
"author": "{{ author.name }}",
"authorURL": "{{ author.url }}",
"affiliations": [
{
"name": "{{ author.affiliations.name }}",
"url": "{{ author.affiliations.url }}"
}
]
}{% if forloop.last == false %},{% endif %}
{% endfor %}
],
"katex": {
"delimiters": [
{
"left": "$",
"right": "$",
"display": false
},
{
"left": "$$",
"right": "$$",
"display": true
}
]
}
}
</script>
</d-front-matter>

<body class="{% if site.navbar_fixed %}fixed-top-nav{% endif %} {% unless site.footer_fixed %}sticky-bottom-footer{% endunless %}">
<!-- Header -->
{% include header.liquid %}

<!-- Content -->
<div class="post distill">
<d-title>
<h1>{{ page.title }}</h1>
<p>{{ page.description }}</p>
</d-title>
{% if page.authors %}
<d-byline></d-byline>
{% endif %}

<d-article>
{% if page.last_update %}
<p>Last Updated: {{ page.last_update | date: '%B %d, %Y' }}</p>
<hr style="margin:0.5em;">
{% endif %}
{% if page.toc %}
<d-contents>
<nav class="l-text figcaption">
<h3>Contents</h3>
{% for section in page.toc %}
<div>
<a href="#{{ section.name | slugify }}">{{ section.name }}</a>
</div>
{% if section.subsections %}
<ul>
{% for subsection in section.subsections %}
<li>
<a href="#{{ subsection.name | slugify }}">{{ subsection.name }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
{% endfor %}
</nav>
</d-contents>
{% endif %}
{{ content }}

{% assign sorted_wiki_terms = site.wiki | sort: 'title' %}

{% assign current_page_url_normalized = page.url | relative_url | replace_first: site.baseurl, '' | strip | split: '#' | first %}

{% assign previous_page = null %}
{% assign next_page = null %}
{% assign found_current_page = false %}

{% for wiki_page in sorted_wiki_terms %}
{% assign wiki_page_url_normalized = wiki_page.url | relative_url | replace_first: site.baseurl, '' | strip | split: '#' | first %}

{% if found_current_page %}
{% assign next_page = wiki_page %}
{% break %}
{% endif %}

{% if wiki_page_url_normalized == current_page_url_normalized %}
{% assign found_current_page = true %}
{% else %}
{% assign previous_page = wiki_page %}
{% endif %}
{% endfor %}

<div class="wiki-navigation-pointers mt-5">
<div class="col-12 mb-2">
{% if previous_page %}
<a href="{{ previous_page.url | relative_url }}" class="wiki-nav-link"> Previous: {{ previous_page.title }} </a>
{% endif %}
</div>

<div class="col-12 mb-2">
{% if site.repo and site.branch %}
<a href="https://github.com/{{ site.repo }}/edit/{{ site.branch }}/{{ page.path }}" class="wiki-nav-link"> Edit This Page </a>
{% endif %}
</div>

<div class="col-12 mb-2">
{% if next_page %}
<a href="{{ next_page.url | relative_url }}" class="wiki-nav-link"> Next: {{ next_page.title }} </a>
{% endif %}
</div>
</div>
</d-article>

<d-appendix>
<d-footnote-list></d-footnote-list>
<d-citation-list></d-citation-list>
</d-appendix>

<d-bibliography src="{{ page.bibliography | prepend: '/assets/bibliography/' | relative_url }}"></d-bibliography>

{% if site.disqus_shortname and page.disqus_comments %}{% include disqus.liquid %}{% endif %}
{% if site.giscus.repo and page.giscus_comments %}
{% include giscus.liquid %}
{% endif %}
</div>

<!-- Footer -->
{% include footer.liquid %}

<!-- JavaScripts -->
{% include distill_scripts.liquid %}
</body>
</html>
8 changes: 4 additions & 4 deletions _pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ subtitle: An open wiki for power systems engineers, researchers, and students.
<div class="button-row-container text-center mb-5">
<div class="row justify-content-center">
<div class="col-auto mb-3">
<a href="/wiki-tag/" class="btn btn-primary btn-lg wiki-tags-button">
<i class="fas fa-tags"></i> Archive by Tag
<a href="/wiki/" class="btn btn-lg wiki-button" style="background-color: #007BFF; border-color: #007BFF; color: #FFFFFF;">
<i class="fas fa-search-plus"></i> Explore Now
</a>
</div>
<div class="col-auto mb-3">
<a href="/wiki/" class="btn btn-primary btn-lg wiki-button">
<i class="fas fa-book"></i> Explore Now
<a href="/wiki-tag/" class="btn btn-lg wiki-tags-button" style="background-color: #28A745; border-color: #28A745; color: #FFFFFF;">
<i class="fas fa-filter"></i> Archive by Tags
</a>
</div>
</div>
Expand Down
2 changes: 0 additions & 2 deletions _wiki/30-minutes-reserve-service.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
layout: distill
title: 30-Minute Reserve Service
description: Can be satisfied by online or offline resources that are able to respond in 30 minutes or less.
tags:
- reserve
- system-operator
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
2 changes: 0 additions & 2 deletions _wiki/adequacy.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
layout: distill
title: Adequacy
description: The ability to supply the demand and energy requirements of the end-use customers.
tags:
- reliability
- nerc
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
2 changes: 0 additions & 2 deletions _wiki/ambient-adjusted-ratings.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
layout: distill
title: Ambient-Adjusted Ratings
description:
tags:
- system-operator
- grid-enhancing-technology
- transmission
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
2 changes: 0 additions & 2 deletions _wiki/ancillary-service.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
---
layout: distill
title: Ancillary Services
description: Services necessary to support the transmission of electric power.
tags:
- transmission
- reliability
- ferc
- nerc
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
2 changes: 0 additions & 2 deletions _wiki/area-control-error.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
layout: distill
title: Area Control Error
description: ACE. The instantaneous difference between net actual and scheduled interchange.
tags:
- frequency-control
- nerc
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
2 changes: 0 additions & 2 deletions _wiki/automatic-generation-control.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
layout: distill
title: Automatic Generation Control
description: AGC. Automatic regulation of the power output of generators.
tags:
- frequency-control
- ferc
- nerc
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
2 changes: 0 additions & 2 deletions _wiki/balancing-authority-area.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
layout: distill
title: Balancing Authority Area
description: The collection of generation, transmission, and loads within the metered boundaries of the Balancing Authority.
tags:
- geography
- transmission
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
2 changes: 0 additions & 2 deletions _wiki/balancing-authority.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
layout: distill
title: Balancing Authoritiy
description: The responsible entity within a Balancing Authority Area.
tags:
- entity
- balancing-authority
- nerc
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
2 changes: 0 additions & 2 deletions _wiki/bilateral-transaction.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
layout: distill
title: Bilateral Transaction
description: A direct contract between a seller and buyer outside of a centralized market.
tags:
- market
- ferc
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
2 changes: 0 additions & 2 deletions _wiki/black-start.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
layout: distill
title: Black Start
description: Establishing the voltage from around zero
tags:
- operation
- ieee
- ieee-standard
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
2 changes: 0 additions & 2 deletions _wiki/bulk-electric-system.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
---
layout: distill
title: Bulk Electric System
description: BES. Transmission Elements and Power resources 100 kV or higher.
tags:
- entity
- transmission
- nerc
bibliography: papers.bib
authors:
- name: Jinning Wang
url: https://jinningwang.github.io
Expand Down
Loading