Skip to content

Commit b48af10

Browse files
committed
Migrate blog to invenia.github.io/blog and clean up links
1 parent 028785a commit b48af10

File tree

7 files changed

+16
-15
lines changed

7 files changed

+16
-15
lines changed

_config.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ permalink: pretty
99
title: Invenia Blog
1010
tagline: 'Electricity Grids, Julia, and Machine Learning'
1111
description: 'Blogging About Electricity Grids, Julia, and Machine Learning'
12-
url: https://invenia-blog.github.io
13-
baseurl: /invenia-blog.github.io/
12+
url: https://invenia.github.io
13+
baseurl: /blog
14+
home: /
1415

1516
author:
1617
name: 'Invenia'
@@ -22,7 +23,7 @@ paginate: 5
2223
version: 0.0.1
2324

2425
github:
25-
repo: https://github.com/invenia-blog/invenia-blog.github.io
26+
repo: https://github.com/invenia/blog
2627

2728
google_analytics: UA-120694221-1
2829

_includes/head.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
</title>
1616

1717
<!-- CSS -->
18-
<link rel="stylesheet" href="{{ site.baseurl }}public/css/poole.css">
19-
<link rel="stylesheet" href="{{ site.baseurl }}public/css/syntax.css">
20-
<link rel="stylesheet" href="{{ site.baseurl }}public/css/hyde.css">
18+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/poole.css">
19+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/syntax.css">
20+
<link rel="stylesheet" href="{{ site.baseurl }}/public/css/hyde.css">
2121
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
2222

2323
<!-- Icons -->

_includes/sidebar.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<div class="container sidebar">
33
<div class="sidebar-about">
44
<h1>
5-
<img src="{{ site.baseurl }}public/InveniaLogo.png" width="100" height="100">
5+
<img src="{{ site.baseurl }}/public/InveniaLogo.png" width="100" height="100">
66
<font face="verdana">{{ site.title }}</font>
77
</h1>
88
<p class="lead">{{ site.description }}</p>
99
</div>
1010

1111
<nav class="sidebar-nav">
12-
<a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}">Home</a>
12+
<a class="sidebar-nav-item{% if page.url == site.baseurl %} active{% endif %}" href="{{ site.baseurl }}{{ site.home }}">Home</a>
1313

1414
{% comment %}
1515
The code below dynamically generates a sidebar nav of pages with

_layouts/post.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ <h3>
2929
<div id="disqus_thread"></div>
3030
<script>
3131
var disqus_config = function () {
32-
this.page.url = "https://invenia-blog.github.io/invenia-blog.github.io{{ page.url }}";
33-
this.page.identifier = "{{ page.title }}";
32+
this.page.url = "{{ site.baseurl }}{{ page.url }}";
33+
this.page.identifier = "{{ page.title }}";
3434
};
3535
(function() {
3636
var d = document, s = d.createElement('script');

_posts/2018-6-27-syntheticgrids-part-1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Power grid research requires testing in realistic, large-scale, electric network
2020

2121
The pioneers in treating power grids as networks were Watts and Strogatz[^3], when they pointed out that electric grids share similarities with *small-world networks*: networks that are highly clustered, but exhibit small characteristic path lengths due to a few individual nodes being directly connected to distant nodes (see Figure 1). This type of network is very useful in explaining social networks--- [see six degrees of Kevin Bacon](https://en.wikipedia.org/wiki/Six_Degrees_of_Kevin_Bacon)---but, despite similarities, power grids differ from small-world networks [^4],[^5]. If you are looking for an extensive list of studies on power grids, Pagani and Aiello [^6] is a good place to start.
2222

23-
![Network topologies]({{ site.baseurl }}public/images/Networks.png)
23+
![Network topologies]({{ site.baseurl }}/public/images/Networks.png)
2424
_Some examples of different network topologies containing 20 nodes and 40 edges. (a) Small-world; (b) random; (c) scale-free (exponent 2). For more details, see Watts and Strogatz[^3]._
2525

2626
In order to study the dynamic properties of electric grids, some research has adopted simplified topologies, such as tree structures [^7] or ring structures [^8], which may fail to capture relevant aspects of the system. Efforts to build complete and realistic synthetic grids are a much more recent phenomenon. The effort of two teams is particularly relevant for this post, namely, Overbye's team [^9],[^10],[^11] and Soltan and Zussman [^12].

_posts/2018-6-27-syntheticgrids-part-2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ GenBus(
7575

7676
We see that our grid has a total of 137 buses (see Figure 2 for a visualisation of the result). The first is a load bus (`LoadBus`). The values of the attributes `connected_to` and `connections` are not explicitly printed. However, the printing of `(...)` indicates that those sets have been populated (otherwise, they would be printed as `()`).
7777

78-
![Synthetic grids]({{ site.baseurl }}public/images/Grids.png)
78+
![Synthetic grids]({{ site.baseurl }}/public/images/Grids.png)
7979
_Visualisation of two grids generated using the procedure described here. Notice that both present the same bus locations, as their placement is entirely deterministic. The transmission line topology however is different in each case, as it is generated through an stochastic process. Note that the generated grids are non-planar._
8080

8181
The last bus of the list corresponds to a generator (`GenBus`). One important thing to notice here is that it contains an attribute called `gens`, which is an array of `Generator`-type objects. `GenBus`es represent power plants, which may (or may not, as is the case here) contain several different generating units. These individual generating units are stored within the `gens` attribute.

index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ <h1 class="post-title">
2323

2424
<div class="pagination">
2525
{% if paginator.next_page %}
26-
<a class="pagination-item older" href="{{ site.baseurl }}page{{paginator.next_page}}">Older</a>
26+
<a class="pagination-item older" href="{{ site.baseurl }}/page{{paginator.next_page}}">Older</a>
2727
{% else %}
2828
<span class="pagination-item older">Older</span>
2929
{% endif %}
3030
{% if paginator.previous_page %}
3131
{% if paginator.page == 2 %}
32-
<a class="pagination-item newer" href="{{ site.baseurl }}">Newer</a>
32+
<a class="pagination-item newer" href="{{ site.baseurl }}{{ site.home }}">Newer</a>
3333
{% else %}
34-
<a class="pagination-item newer" href="{{ site.baseurl }}page{{paginator.previous_page}}">Newer</a>
34+
<a class="pagination-item newer" href="{{ site.baseurl }}/page{{paginator.previous_page}}">Newer</a>
3535
{% endif %}
3636
{% else %}
3737
<span class="pagination-item newer">Newer</span>

0 commit comments

Comments
 (0)