forked from joskvi/LTspice-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
21 lines (18 loc) · 1.22 KB
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
##########################################
## CONFIGURATION OF LTspice SIMULATIONS ##
##########################################
# File path of the LTspice program installed on the system
LTSpice_executable_path = 'C:\Program Files (x86)\LTC\LTspiceIV\scad3.exe'
# The name of the circuit to be used in simulations
LTSpice_asc_filename = 'example_circuit.asc'
# The measurements to be saved from the simulation. The appropriate numbers can be found in the .raw file generated at simulation.
variable_numbering = {'time': 0, 'V_c': 2, 'I_c': 3}
# The ordering of the measurements to be saved in the output csv files can be changed below, by changing how the numbers are ordered.
# E.g. switch place of 0 and 1 if you want V_c to be placed left of time in the output csv files.
preffered_sorting = [0, 1, 2]
# Leave blank if output should be writtten to root folder. The folder specified must be created manually if it doesn't exist.
output_data_path = 'data/'
# Naming convention for output files. Can be numerical names, increasing in value as output is created.
# Parameter names gives the files the name of the parameter that it is run with.
# Assumes number by default. Set to 'parameter' or 'number'.
output_data_naming_convention = 'number'