Sorry but I’m newbie with emoncms, I have some inputs taht are generating some feeds and are working correctly, but now I need to create some additional feeds as a result of other feed with some calculs,for example one of them " Exchanger Power = 1.163 * V1 * (tV1 - tR1)"
My question i how to do this, my question is realted with parenthesis and also how to create a new feed with this output
In emonCMS, a Feed is the database. Values sent to a Feed are stored for ever. This is what you need if you want to see the data in a graph tomorrow, next week or next year.
One additonal question I’m trying to use a conditional to reocver some values only if mode is =1, I’m trying this but is not working, how can I dothis?
if mode is =! 1 then absolute value 0,andwhen 1calculate from 5 to steps 7, how cna Ido this?
You need one more GOTO as step 5.
What comes after step 9 (now step 10)? if it is Log to feed then the new GOTO is to step 11: Log to Feed, so you record a Zero value if you came via the GOTO, else you record the result after × 0.001 (step 10).
not sure ifthisiscorrect, always reutnrs 0,andnow for exampel I have mode =1 and in this case I expect a value != 0,
in thiscase 6/7/8 are really executed on any case? about log to feed hwo can I do this I can find this options
Step 3 should be GOTO 6. When you inserted a step, all those below moved down one step.
If you need to save the data in a Feed, my understanding is you should be doing this as part of the processing for one of your Inputs on an Input page, not in a Virtual Feed.
Choose the last input that appears on the Inputs page for Node hpsu508. When the last input is processed, all the others will have the latest value - if you use the first, all those down the page will not yet be processed and some data could be 10 s or more old.
Do Reset to ZERO, then use + Input to read again the input in whose process list you are working on and those you have not logged to a Feed, and + Feed to read all the others that have already been processed and logged to a Feed.
Then at the end, you can Log to Feed and create a new Feed with the result.
Great, Ihave added some new feeds generated from 1 unused input and it works! thank you!
Myquestion isif it is possible to make an input for every feed, nowfor example using 1 input I’m generating more thant 5 new feeds from same input,andnot sure if forbetter perofrmance or to have a more clear enfironment thisis possible…
Where can I read informatin about emoncms to understand how all emoncms works?
and last, to monitor power consumtpionfromsome devide, aht is the recommended tool to monitor fromcable power usage,for example my pumpdoesn’t report power cosnumption electric, and I like to monitor tocalculate real COP/EER
You have it the wrong way round. YOU cannot create an Input. An Input is created automatically when data arrives in emonCMS. The Input page is the first stage where an incoming value is converted into the form you need - for example watts to kW, or three phases summed into a combined total. You then send the processed value to a Feed, where it is stored.
So, if you wish, You can have a Feed for every Input, and you can have several Feeds from one input. If an input does not send data to a Feed, that data is never saved. Let us say you are processing the Exchanger voltage, and the voltage is read every 10 s and sent to emonCMS. The very first time the voltage value arrives, it creates the Input page. You can then add the process steps. The steps on the Input page are processed as soon as the number for the voltage arrives in emonCMS, and, unless you do a Log to feed, it vanishes when it falls off the bottom of the list of process steps.
When you do Log to feed, the data is stored. How and when this happens depends on the type of feed. If it is a Variable Interval, the data is sent to the feed immediately. If it is a Fixed Interval, it happens at the time intervals you choose when you create the Feed, and most importantly, if there is no new data when the data is due to be stored, a NULL value is recorded in the Feed - so you can have gaps if the data does not arrive on time.
I’mtrying to get export and imporet energy but I can obtain if <0 then export value and improt =0 and thhen if >0 import = value and export =0 it is possible?
What is all this?
Look again at what I told you. Where did I write GOTO? Where did I write Reset to ZERO?
You do not need these.
Read the text in the blue section where you choose Allow positive:
" Negative values are zeroed for further processing by the next processor in the processing list. Output: Modified value passed onto next process step."
Therefore, if the next step is Log to Feed, there is your positive (Imported) power.
Then Reset to original and do it again, this time choosing Allow negative. If you want your Exported power to be a positive value, multiply here by -1 and then Log to Feed.
If you want accumulated energy (Power to kWh) as well, you can do this after you logged the power: twice - once for the imported energy and again for the exported energy.
Sorry I think that haven’t detailed correctly environment, I’m not trying to accumulate energy to power to kWh
I have n input from solar inverter that can return positives values (when is importing W from Grid) and negatives values (when is exporting power to grid)
Power is in kW. Energy is in kWh. They are different quantities. It is like asking how many cm of water makes 1 litre
OK, if you do not want this, do not do it. I was suggesting that this is the place for more processing steps if you need them.
I understood you when you asked this here:
and
And I think I answered it here:
Do you understand how a step in the processing works?
For example, the ‘multiply’ process ×
"Multiplies current value by given constant. This can be useful for calibrating a particular variable on the web rather than by reprogramming hardware. Output: Modified value passed onto next process step.
The Input is multiplied by a number you specify (it can be greater that 1 or smaller), and the result is passed to the next step down the list. (The word `current’ does not mean amperes, it means the number from the input that has come down the list.)
If the next step is ‘power to kWh’:
Power to kWh: Convert a power value in Watts to a cumulative kWh feed. Visualisation tip: Feeds created with this input processor can be used to generate daily kWh data using the BarGraph visualisation with the delta property set to 1. See Guide: Daily kWh Output: Does NOT modify value passed onto next process step.
It uses the time interval from when the last value arrived to convert the power (W) to energy (kWh) and sends the result to a Feed you define. BUT it passes the original power to the next step in the list.
Or it can do both, like Wh Accumulator
And so on until the bottom of the list is reached, where the number disappears forever.