From 693b2b0ed37783472bbd00a5dfa99acdcdb7128e Mon Sep 17 00:00:00 2001 From: jinningwang Date: Fri, 20 Jun 2025 23:33:26 -0400 Subject: [PATCH 1/4] Add navigation button in term page --- _layouts/distill.liquid | 94 +++++++++++++++++++++++++++++------------ 1 file changed, 66 insertions(+), 28 deletions(-) diff --git a/_layouts/distill.liquid b/_layouts/distill.liquid index 85fa9a02..0899d9f3 100644 --- a/_layouts/distill.liquid +++ b/_layouts/distill.liquid @@ -17,38 +17,38 @@ @@ -93,6 +93,44 @@ {% 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 %} + +
+
+
+ {% if previous_page %} + ← {{ previous_page.title }} + {% endif %} +
+
+ {% if next_page %} + {{ next_page.title }} → + {% endif %} +
+
+
From 00e287c253d4f7111845fdf637cee6eedbc7e467 Mon Sep 17 00:00:00 2001 From: jinningwang Date: Fri, 20 Jun 2025 23:38:58 -0400 Subject: [PATCH 2/4] Add nav links in term pages --- _layouts/distill.liquid | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/_layouts/distill.liquid b/_layouts/distill.liquid index 0899d9f3..2308937a 100644 --- a/_layouts/distill.liquid +++ b/_layouts/distill.liquid @@ -118,17 +118,17 @@ {% endfor %}
-
-
- {% if previous_page %} - ← {{ previous_page.title }} - {% endif %} -
-
- {% if next_page %} - {{ next_page.title }} → - {% endif %} -
+
From 97b0fa38900dfafa9f6fc765fe1ed88a203148c8 Mon Sep 17 00:00:00 2001 From: jinningwang Date: Fri, 20 Jun 2025 23:49:28 -0400 Subject: [PATCH 3/4] Format --- _wiki/ancillary-service.md | 2 -- _wiki/contingency-analysis.md | 2 -- _wiki/critical-clearing-time.md | 2 -- _wiki/equal-area-criterion.md | 4 ---- _wiki/frequency-deviation.md | 2 -- _wiki/primary-frequency-response.md | 2 -- _wiki/region.md | 4 ---- _wiki/subregions.md | 5 ----- _wiki/zone.md | 4 ---- 9 files changed, 27 deletions(-) diff --git a/_wiki/ancillary-service.md b/_wiki/ancillary-service.md index 866994e0..d95b19a1 100644 --- a/_wiki/ancillary-service.md +++ b/_wiki/ancillary-service.md @@ -22,5 +22,3 @@ Source: > Those services necessary to support the transmission of electric power from seller to purchaser, given the obligations of control areas and transmitting utilities within those control areas, to maintain reliable operations of the interconnected transmission system. Ancillary services supplied with generation include load following, reactive power-voltage regulation, system protective services, loss compensation service, system control, load dispatch services, and energy imbalance services. More details can be found in the Reference Appendix I: Regional Practices for Ancillary Services. - -
diff --git a/_wiki/contingency-analysis.md b/_wiki/contingency-analysis.md index f7429630..b4790618 100644 --- a/_wiki/contingency-analysis.md +++ b/_wiki/contingency-analysis.md @@ -20,5 +20,3 @@ Relevant items: [Contingency List](/wiki/contingency-list) Source: The procedures to study a contingency are documented in the source reference. - -
diff --git a/_wiki/critical-clearing-time.md b/_wiki/critical-clearing-time.md index 56fe8601..cf5b2995 100644 --- a/_wiki/critical-clearing-time.md +++ b/_wiki/critical-clearing-time.md @@ -20,5 +20,3 @@ last_update: 2025-06-20 Source: > The maximum permissible duration of the fault for which the subsequent system response remains stable. This portion of stability analysis requires the knowledge of actions of protective relaying. - -
diff --git a/_wiki/equal-area-criterion.md b/_wiki/equal-area-criterion.md index f77fbc7f..77ac55e3 100644 --- a/_wiki/equal-area-criterion.md +++ b/_wiki/equal-area-criterion.md @@ -28,7 +28,3 @@ Another earlier reference to the Equal Area Criterion can be found in )
- -
-
-
diff --git a/_wiki/frequency-deviation.md b/_wiki/frequency-deviation.md index 50e29af8..75cd2238 100644 --- a/_wiki/frequency-deviation.md +++ b/_wiki/frequency-deviation.md @@ -19,5 +19,3 @@ last_update: 2025-06-20 Source: > A change in Interconnection frequency. - -
diff --git a/_wiki/primary-frequency-response.md b/_wiki/primary-frequency-response.md index cccf824d..61ba4db9 100644 --- a/_wiki/primary-frequency-response.md +++ b/_wiki/primary-frequency-response.md @@ -26,5 +26,3 @@ Relevant news: - 2022 Feb., p1, _Based on PJM’s frequency response analysis and oscillation detection using highly granularity PMU data, in addition to NERC Resource Subcommittee analysis, there are no near term concerns with inertia in the EI._ - 2021 Nov., p4, _PJM proposed "Reliability Products and Services" that involves Inertial in the Frequency Response._ - 2021 March, p11, _Inertial and Primary Frequency Response: Generators that provide these types of frequency response are not explicitly compensated for this service under today’s rules._ - -
diff --git a/_wiki/region.md b/_wiki/region.md index 067fee1a..11f5ebd8 100644 --- a/_wiki/region.md +++ b/_wiki/region.md @@ -33,7 +33,3 @@ Source: Regional Maps (from ) - -
-
-
diff --git a/_wiki/subregions.md b/_wiki/subregions.md index 185e8bcb..2c9d5049 100644 --- a/_wiki/subregions.md +++ b/_wiki/subregions.md @@ -33,8 +33,3 @@ Source: Map of eGRID Subregions (from ) - -
-
-
-
diff --git a/_wiki/zone.md b/_wiki/zone.md index 1a1d1485..aea2b68d 100644 --- a/_wiki/zone.md +++ b/_wiki/zone.md @@ -30,7 +30,3 @@ Source: Source: p139 In MATPOWER, there is a bus parameter named "ZONE", and it means loss zone. - -
-
-
From b36c1a51d1960d20858c8663ae28e2653f86a856 Mon Sep 17 00:00:00 2001 From: jinningwang Date: Fri, 20 Jun 2025 23:56:15 -0400 Subject: [PATCH 4/4] Format --- _layouts/distill.liquid | 56 ++++++++++++++++++++--------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/_layouts/distill.liquid b/_layouts/distill.liquid index 2308937a..2750fd7f 100644 --- a/_layouts/distill.liquid +++ b/_layouts/distill.liquid @@ -17,38 +17,38 @@