Hi!
I have a simulation in non-sequential mode, and my goal is to measure the power on a detector using NSDD, and plot the power as a function of y-position using Universal Plot 1-D and NSDD. I think I have defined the system merit function correctly, but every time I plot it, I get a flat line in my plot.
This is not the behavior I expect at all. I have tried manually changing the y-position , conducting a new ray trace, and reading the power on the detector using Detector Viewer. This method causes the power on the detector to change with position, but for some reason the Universal Plot does not show the same results.
As a sanity check, I have experimented by varying the z-position using Universal Plot 1-D and NSDD instead, and I am able to see a relationship in my plot. However, another thing that is very curious is that the values in the plot are not consistent with the power on the Detector Viewer -- they are off by an order of magnitude!
To summarize:
- I am not able to get my desired plot working using NSDD and Universal Plot 1-D. My plots show no variation of total power on the detector with the y-position of the detector, even though I know this is not true (manually tested). What am I doing wrong?
- Does the “Total Power” at the bottom of the Detector Viewer measure something different than NSDD with the parameters I used? If so, how do I measure total power properly using NSDD?
I am using the following parameters in NSDD.
Det #: 4 (my detector is object 4 in NSCE)
Pix #: 0
Data: 0
# Ignored: 0
I have attached a .zip file of my simulation, as well as images to illustrate what I’m talking about.
The detector viewer screenshot I attached says total power is 3.994E-5 Watts, but on my plot, the @ z-position = 0.005, the NSDD value is 0.