Skip to content

Instantly share code, notes, and snippets.

Hello World
@cwebber314
cwebber314 / esri-map-geojson.markdown
Created September 27, 2024 21:44
ESRI Map - GeoJSON
<script type="importmap">
{
"imports":
{
"vue": "https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.38/vue.esm-browser.min.js",
"vuetify": "https://unpkg.com/[email protected]/dist/vuetify.esm.js"
}
}
</script>
<title>Network Diagram Demo</title>
@cwebber314
cwebber314 / forever_ping_powershell.ps1
Created October 29, 2023 17:50
Use powershell to run connection test on google DNS
Test-Connection 8.8.8.8 -Delay 30 -Count ([int32]::MaxValue) | format-table @{n='TimeStamp';e={Get-Date}},Ping, Source, Address, Latency, Status | Out-File ping.txt
@cwebber314
cwebber314 / index.html
Created October 25, 2023 14:20
ROW Orientation - by section
<div id="app">
<v-app>
<v-main>
<v-container fluid>
<v-row>
<v-col cols=12>
<v-card class="mb-4">
<v-card-title>
Tower Config
</v-card-title>
@cwebber314
cwebber314 / PSSE_Environment_debug.md
Last active January 22, 2025 20:45
PSSE Environment Debug Notes

PSSE Environment Debug

Sometimes a PSSE won't open after install. This is almost always caused by an unexpected Python configuration.

If you're struggling with MOD, see the MOD Debug Notes

Debug: Instant close

Behavior:

@cwebber314
cwebber314 / PSSE_MOD_notes.md
Last active August 15, 2024 16:52
Notes on getting PSSE and MOD to play nice with your python environment

PSSE MOD Debug Notes

MOD File Builder often has trouble connecting to the PSSE API if the environment on your machine isn't exactly like PSSE/MOD expects.

This document show some common issues with MOD File Builder install and how to fix them.

If you can't get PSSE to open without MOD, you need to debug that first. Here are some PSSE Debug Notes

The GUI and the Bridge

// Generate a Sankey diagram from a savnw case solve.
// Values are entered by hand, so probably not accurate.
// Loads are not shown so it looks like Kirchoff is violated
// https://sankeymatic.com/build/
//
// Enter Flows between Nodes, like this:
// Source [AMOUNT] Target
MINE G [260] MINE
HYDRO G [600] HYDRO
*******************
Selected Line Name: Tower 1; Circuit 1
*******************
As an aid in setting distance relays, the worst case positive
sequence line impedance, assuming untransposed phases, is:
0.0357 +j 0.1484 Ohms, or 0.1527 Ohms @ 76.47 degrees.
A zone 1 reach set to this value will not overreach the line.
Length: 0.41 miles
Surge impedance: 192.80 ohms Loading: 98.777 MW
*******************
Selected Line Name: Tower 1; Circuit 1
*******************
As an aid in setting distance relays, the worst case positive
sequence line impedance, assuming untransposed phases, is:
0.0357 +j 0.1484 Ohms, or 0.1527 Ohms @ 76.47 degrees.
A zone 1 reach set to this value will not overreach the line.
Length: 0.41 miles