Resource Menu


posted by Fredrik Johansson at Nov 4, 2017 5:06 PM
Quote
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> <id>-1</id> <name></name> <description></description> <category></category> <list> <GlobalParameter> <keyName>instrumentSamplePeriod</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>0.099</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! s !</unit> <description>sampling period</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrumentOutputLevel</keyName> <category>Mandatory parameters</category> <typeAString>int</typeAString> <valueAsFloat>0.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! - !</unit> <description>level of outputs (0 = nominal; 1 = extra ASCII files)</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrumentObservationDuration</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>5.0E-4</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! s !</unit> <description>observation duration</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrumentCenterX</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>0.545</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! m !</unit> <description>x coordinate center of a plasma sensor</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrumentCenterY</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>0.915</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! m !</unit> <description>y coordinate center of a plasma sensor</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrumentCenterZ</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>1.439</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! m !</unit> <description>z coordinate center of a plasma sensor</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrumentRadius</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>0.01</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! m !</unit> <description>radius of a spherical plasma sensor</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrumentPop</keyName> <category>Mandatory parameters</category> <typeAString>String</typeAString> <valueAsFloat>0.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsString>ions1</valueAsString> <valueAsBoolean>false</valueAsBoolean> <unit>! - !</unit> <description>name of the population to observe</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrumentEmin</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>20.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! eV !</unit> <description>minimum energy</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrumentEmax</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>30.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! eV !</unit> <description>maximum energy</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrumentEintervalNb</keyName> <category>Mandatory parameters</category> <typeAString>int</typeAString> <valueAsFloat>0.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>40</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! - !</unit> <description>number of energy intervals</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrument_OutBasisVect1_X</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>1.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! - !</unit> <description>y coordinate of Vect1 defining the output basis</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrument_OutBasisVect1_Y</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>0.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! - !</unit> <description>y coordinate of Vect1 defining the output basis</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrument_OutBasisVect1_Z</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>0.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! - !</unit> <description>z coordinate of Vect1 defining the output basis</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrument_OutBasisVect2_X</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>0.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! - !</unit> <description>x coordinate of Vect2 defining the output basis</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrument_OutBasisVect2_Y</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>0.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! - !</unit> <description>y coordinate of Vect2 defining the output basis</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrument_OutBasisVect2_Z</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>1.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! - !</unit> <description>z coordinate of Vect2 defining the output basis</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> <GlobalParameter> <keyName>instrument_EnergySlice</keyName> <category>Mandatory parameters</category> <typeAString>float</typeAString> <valueAsFloat>20.0</valueAsFloat> <valueAsDouble>0.0</valueAsDouble> <valueAsInt>0</valueAsInt> <valueAsBoolean>false</valueAsBoolean> <unit>! eV !</unit> <description>default particle energy for 2D slice of 3D distribution function monitoring (possible to change in interactive mode)</description> <verbosityLevel>LOW</verbosityLevel> </GlobalParameter> </list> </org.keridwen.modelling.global.parameters.GlobalParametersList>