thank you for your post.
You need to process the engine before finding out the output value.
engine.setInputValue("Ambient", 0.1); engine.process(); System.out.println(engine.getOutputValue(“Power”));
You also need an accumulation method when setting the OutputVariable (yours is set to null):
Let me know if it works.
- This reply was modified 8 years, 5 months ago by Juan Rada-Vilela (admin).