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, 1 month ago by Juan Rada-Vilela (admin).