aquiles viza
03/22/2024, 7:55 PMtemperature
button to see the graph just cleans the window.
I think this problem could be related with the use of a measure
field with a python script.
This is the repo, the simulations take a while. After each simulation it writes an error.
CACE Simulation error: format is missing entries
simline is: 2.99171835e-05 1.86475860e+00
formatvars are: result
That's because I miss something in the format
entry? Should I define the variables
dictionary?Tim Edwards
03/22/2024, 8:00 PMvariables
set. Is the repository in a state where I can try to reproduce this result?aquiles viza
03/22/2024, 8:39 PMaquiles viza
03/22/2024, 8:39 PMTim Edwards
03/22/2024, 9:05 PMaquiles viza
03/22/2024, 9:55 PMSDC.txt
file, in electrical_parameters
dictionary.
name: temperature_sweep
status: skip
description: Mean voltage in a range of temperatures
display: Temperate sweep
unit: V
spec {
typical: any
}
simulate {
tool: ngspice
template: transient.spice
format: ascii .data result
}
measure {
tool: python
filename: analyze_temps.py
}
conditions {
name: temperature
minimum: -40
maximum: 130
step: linear
stepsize: 30
+
name: corner
typical: tt
}
Tim Edwards
03/23/2024, 12:03 AMTim Edwards
03/23/2024, 12:23 AMwrdata
always plots an extra variable in front, which for transient simulations like this one is always time. You need something like format: ascii .data null result
or format: ascii .data time result
(but then you need to declare time
as in a variables
block).analyze_temps.py
script passes data back to the program, although I'm not sure what your analyze_temps.py
script is doing.Tim Edwards
03/23/2024, 1:42 AMmeasure
script takes in the time value
result from the .data
file and generates a single result output. That's fine; the format:
line still needs to be format: ascii .data null result
because it still indicates the format of the output file (which CACE is trying to do something with, even if you are ignoring it and just reading the .data file from your script).
But I think all that does is just generate some error messages in the terminal. I don't think that impacts the actual error at all.Tim Edwards
03/23/2024, 2:08 AMTim Edwards
03/23/2024, 2:40 AMaquiles viza
03/23/2024, 5:09 AM-
on the name.Tim Edwards
03/23/2024, 1:36 PMaquiles viza
03/23/2024, 1:40 PMTim Edwards
03/23/2024, 1:52 PMaquiles viza
03/23/2024, 4:31 PMTim Edwards
03/23/2024, 8:08 PM