-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
1,469 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
lambda_lasso = 1e-7 | ||
lambda_eiv = 3e-5#2e13 #4e11 for non-constant loads reduced net | ||
from conf.conf import noise_level | ||
|
||
# Regularization parameters | ||
lambda_lasso = 4e-10 | ||
lambda_eiv = 5e-7 | ||
lambdaprime = 200 | ||
|
||
# Tolerance for stopping the iterative algorithm | ||
abs_tol = 1e-13 | ||
rel_tol = 1e-16 | ||
|
||
# What should be regularized with the Bayesian prior | ||
use_tls_diag = False | ||
contrast_each_row = True | ||
regularize_diag = False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
import numpy as np | ||
from conf.conf import noise_level | ||
|
||
# Definition of hidden nodes | ||
observed_nodes = [1, 3, 4, 6, 8, 9, 10, 12, 15, 16, 17, 18, 19, 22, 24, 26, 28, | ||
32, 36, 37, 39, 40, 43, 44, 46, 47, 49, 50, 51, 52, 53, 55] # About 60% of the nodes | ||
hidden_nodes = list(set(range(56-1)) - set(np.array(observed_nodes)-1)) | ||
|
||
hidden_nodes = [] | ||
constant_load_hidden_nodes = False | ||
|
||
# Assumption of constant Z loads on hidden nodes | ||
constant_load_hidden_nodes = True | ||
|
||
# Week during which the sample size starts | ||
selected_weeks = np.array([12]) | ||
days = len(selected_weeks) | ||
time_steps = 24 * 60# 15000 | ||
|
||
current_magnitude_sd = 1e-4 | ||
voltage_magnitude_sd = 1e-4 | ||
current_phase_sd = 1e-4#0.01*np.pi/180 | ||
voltage_phase_sd = 1e-4#0.01*np.pi/180 | ||
# Total sample size on which block averaging is performed | ||
days = 7*len(selected_weeks) | ||
|
||
# Number of averaged blocks | ||
time_steps = 24 * 60 * 7 # 15000 is max capable for GPU RTX 3090 | ||
|
||
# Sensor sampling frequency | ||
measurement_frequency = 50 # [Hz] # 50 | ||
|
||
# Safety factor for sensor dimension (compared to nominal node power) | ||
safety_factor = 4 | ||
|
||
#for 3ph | ||
#days = len(selected_weeks) | ||
#hidden_nodes = [] | ||
# Do not touch that, rather change noise_level in conf.conf | ||
current_magnitude_sd = 1e-4 * noise_level | ||
voltage_magnitude_sd = 1e-4 * noise_level | ||
current_phase_sd = 0.01*np.pi/180 * noise_level | ||
voltage_phase_sd = 0.01*np.pi/180 * noise_level |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.