Message by Fredrik Johansson:
Hello. I’m not familiar with the velocity distribution sensor, and keep getting this error. Is there a manual somewhere, and does anyone know what this error relates to?
Error log attached below, I also attach the Usersinstrument xml file further below.
Thanks in advance,
Fredrik Johansson
2017-11-03 12:28:14,121 INFO ! spis.Util.io.SpisIO ! Time: 0.09824201, Dt = 0.0017 s
2017-11-03 12:28:21,670 INFO ! spis.Util.io.SpisIO ! (I) Velocity_distribution_function_sensor_id25 number of macroparticle measured: 0
java.lang.NullPointerException
at spis.Util.Monitor.ParticleMeasurementResult.print1DinASCII(ParticleMeasurementResult.java:565)
at spis.Util.Instrument.VelocityDistFunctionPS.performSensorMeasure(VelocityDistFunctionPS.java:253)
at spis.Util.Instrument.PlasmaSensor.simulationChanged(PlasmaSensor.java:129)
at spis.Top.Simulation.SimulationFromUIParams.notifyInstruments(SimulationFromUIParams.java:3911)
at spis.Top.Simulation.SimulationFromUIParams.integrate(SimulationFromUIParams.java:3831)
at spis.Top.Simulation.SimulationFromUIParams.integrate(SimulationFromUIParams.java:3878)
at spis.Top.Top.Scenario.integrate(Scenario.java:107)
at spis.Top.Top.NumTopFromUI.integrate(NumTopFromUI.java:181)
at org.spis.ui.simulation.command.LaunchSimulationCommand$1.run(LaunchSimulationCommand.java:91)
at java.lang.Thread.run(Thread.java:745)
java.lang.NullPointerException
at spis.Util.Monitor.ParticleMeasurementResult.print2DangularDFinASCII(ParticleMeasurementResult.java:1664)
at spis.Util.Instrument.VelocityDistFunctionPS.performSensorMeasure(VelocityDistFunctionPS.java:259)
at spis.Util.Instrument.PlasmaSensor.simulationChanged(PlasmaSensor.java:129)
at spis.Top.Simulation.SimulationFromUIParams.notifyInstruments(SimulationFromUIParams.java:3911)
at spis.Top.Simulation.SimulationFromUIParams.integrate(SimulationFromUIParams.java:3831)
at spis.Top.Simulation.SimulationFromUIParams.integrate(SimulationFromUIParams.java:3878)
at spis.Top.Top.Scenario.integrate(Scenario.java:107)
at spis.Top.Top.NumTopFromUI.integrate(NumTopFromUI.java:181)
at org.spis.ui.simulation.command.LaunchSimulationCommand$1.run(LaunchSimulationCommand.java:91)
at java.lang.Thread.run(Thread.java:745)
<org.keridwen.modelling.global.parameters.GlobalParametersList>
-1
instrumentSamplePeriod
Mandatory parameters
float
0.099
0.0
0
false
! s !
sampling period
LOW
instrumentOutputLevel
Mandatory parameters
int
0.0
0.0
0
false
! - !
level of outputs (0 = nominal
1 = extra ASCII files)
LOW
instrumentObservationDuration
Mandatory parameters
float
5.0E-4
0.0
0
false
! s !
observation duration
LOW
instrumentCenterX
Mandatory parameters
float
0.545
0.0
0
false
! m !
x coordinate center of a plasma sensor
LOW
instrumentCenterY
Mandatory parameters
float
0.915
0.0
0
false
! m !
y coordinate center of a plasma sensor
LOW
instrumentCenterZ
Mandatory parameters
float
1.439
0.0
0
false
! m !
z coordinate center of a plasma sensor
LOW
instrumentRadius
Mandatory parameters
float
0.01
0.0
0
false
! m !
radius of a spherical plasma sensor
LOW
instrumentPop
Mandatory parameters
String
0.0
0.0
0
ions1
false
! - !
name of the population to observe
LOW
instrumentEmin
Mandatory parameters
float
20.0
0.0
0
false
! eV !
minimum energy
LOW
instrumentEmax
Mandatory parameters
float
30.0
0.0
0
false
! eV !
maximum energy
LOW
instrumentEintervalNb
Mandatory parameters
int
0.0
0.0
40
false
! - !
number of energy intervals
LOW
instrument_OutBasisVect1_X
Mandatory parameters
float
1.0
0.0
0
false
! - !
y coordinate of Vect1 defining the output basis
LOW
instrument_OutBasisVect1_Y
Mandatory parameters
float
0.0
0.0
0
false
! - !
y coordinate of Vect1 defining the output basis
LOW
instrument_OutBasisVect1_Z
Mandatory parameters
float
0.0
0.0
0
false
! - !
z coordinate of Vect1 defining the output basis
LOW
instrument_OutBasisVect2_X
Mandatory parameters
float
0.0
0.0
0
false
! - !
x coordinate of Vect2 defining the output basis
LOW
instrument_OutBasisVect2_Y
Mandatory parameters
float
0.0
0.0
0
false
! - !
y coordinate of Vect2 defining the output basis
LOW
instrument_OutBasisVect2_Z
Mandatory parameters
float
1.0
0.0
0
false
! - !
z coordinate of Vect2 defining the output basis
LOW
instrument_EnergySlice
Mandatory parameters
float
20.0
0.0
0
false
! eV !
default particle energy for 2D slice of 3D distribution function monitoring (possible to change in interactive mode)
LOW
</org.keridwen.modelling.global.parameters.GlobalParametersList>