Veda2.0 Released!


Use PRC_ACTFLO instead of INPUT/OUTPUT/FLOP for PCG members
#1
Music 
After installing VEDA2 v4.0.0.0 and importing the model templates, I encountered a message stating that the VDA_FLOP parameter for secondary commodities would not be imported. The message read: “Info – records deleted in Step 2” with the explanation: “Use PRC_ACTFLO instead of INPUT/OUTPUT/FLOP for PCG members.”



I think it is related to VEDA forum thread https://forum.kanors-emr.org/showthread.php?tid=1426&page=1. Several processes in the VEDA templates of my model (excluding CHPs) have been defined using the OUT(ENC)p parameter for processes with two outputs. Typically, the primary commodity output is assigned a value of 1, while the secondary commodity output has a value not equal to 1. For instance, rapeseed oil production might be assigned output = 1 while a secondary byproduct like bio-waste has output = 0.8.

Upon importing these definitions into VEDA, I noticed that the secondary outputs were not being properly accounted for. This issue stems from transitioning from the MARKAL database, and I have yet to resolve it (because secondary outputs was not important until now).

I am now considering how best to address these inconsistencies. One option is to replace OUT(ENC)p with the FLO_SHAR parameter, recalculating outputs as a proportion of total flows. Alternatively, I could use the PRC_ACTFLO parameter for secondary outputs, but this raises the question: should these secondary outputs be defined as auxiliary outputs? I understand that auxiliary commodities in TIMES are intermediate commodities used to support calculations, represent process activity, track emissions, or model byproducts?

Or there are alternative approaches, such as defining commodity groups and similar ones?

I would appreciate any advice on best practices for addressing this issue.


Thanks,
Janis
Reply
#2
> ”Use PRC_ACTFLO instead of INPUT/OUTPUT/FLOP for PCG members.”

If you see the warnings issued for Input / Output =1, I think such warnings are, in fact, superfluous. VEDA does have the old convention that Input / Output =1 can be used for creating process topology (without Comm-IN / Comm-OUT), and so it should be perfectly ok to use those for PCG members as well. But I guess your warnings are probably for some other flows with Output<>1? Such warnings would signify likely modeling errors, related to outputs meant to be "secondary" but mistakenly included in the PCG.

Any secondary outputs (where the output flow is proportional to the activity) can indeed be defined in VEDA by using Output, and that is basically the best way to define such flows (unless the process is a CHP process). So there is no reason to change them to use FLO_SHAR or PRC_ACTFLO.  However, ACT_FLO would be a reasonable alternative, but it works almost identically to Output. ACT_FLO works consistently also for CHP.  One could also use FLO_EFF.

> should these secondary outputs be defined as auxiliary outputs?

Usually there is no need to define secondary outputs as auxiliary outputs, if you have defined the PCG explicitly. But if the PCG has several members, and there is a secondary output of the same commodity type, defining it an auxiliary output may be the easiest way to ensure that the PCG will be correct (i.e. excluding the secondary output). If the issue you have is in fact only about outputs that should be secondary, then you have a PCG issue, which you can fix either by defining the PCG explicitly, or by defining the secondary outputs as auxiliary outputs.
Reply
#3
Thumbs Up 
Thank you for your detailed explanations!  Smile
To help me better grasp this, let’s frame it with an example. Suppose we have a process with three inputs and two outputs: Inputs: F1 (xx), F2 (yy), and F3 (zz) and Outputs: FO1 (===1) and FO2 (nn)
Additionally, let’s assume that the process activity equals the FO1 output.
It’s clear that inputs are defined in VEDA2 using VDA_FLOP.

Here’s what I observe regarding outputs:
  1. Defined via ACT_FLO:

    • When outputs are specified using ACT_FLO in the template, they appear in VEDA.

    • In the results, the process activity equals the sum of both outputs.



  2. Defined via OUTPUT or OUT(ENC)p:

    • In this case, I do not see any parameters related to outputs in VEDA but see them in topology.

    • In the results, only the primary commodity is produced, and its quantity equals the process activity.



  3. Defined via RC_ACTFLO (Auxiliary Outputs):

    • I am attempting to define the secondary outputs as auxiliary outputs using RC_ACTFLO, and this seems to work.

    • I feel this might be the correct approach, but I’d appreciate your thoughts on whether I’m heading in the right direction.




Finally, I am unclear on the meaning of “defining the PCG explicitly.” Could you please elaborate on this concept and its implications for my example?

I apologize for perhaps such a confusing example. Rolleyes
Reply
#4
I am sorry but I am not able to follow your conclusions at all, because I cannot see what you actually have in your model.  So, I cannot comment on them, other than that in my view your conclusions are not correct.

• Both Output and ACT_FLO do work perfectly well for secondary flows (but Output not for CHP).
• PRC_ACTFLO is not at all meant to be used for any secondary outputs.  It is meant to be used for PCG flows only.  However, it is indeed supported for auxiliary flows as well, but it works then in the same way as ACT_FLO does (but this is an undocumented and unrecommended usage of PRC_ACTFLO)
• About OUT(ENC)p I don't know anything, it is not a TIMES attribute

But of course, if you defined the secondary flows auxiliary in some cases, and in some cases not, then that might explain your findings.

It is highly recommended to define the PCG of all processes explicitly in the FI_Process table. By doing so you can be sure the PCG flows (and the secondary flows) are exactly those intended.
Reply
#5
The image summarizes extracted information from templates about a specific technology. Please see attached file.



and what we see in VEDA



OUT(ENC)p as well as OUTPUT according to TIMES and VEDA Attributes is Alias to VDA_FLOP.  Smile

What should be corrected and supplemented in the specification so that the process works as intended - BIODSL=process activity and BGF=0.67 of process activity.


Attached Files
.xlsx   process.xlsx (Size: 101.32 KB / Downloads: 3)
Reply
#6
You should add the column PrimaryCG into the FI_Process table, and write BIODSL under that heading. That will define the PCG (=PrimaryCG) as BIODSL, which it should be. That would already be sufficient, but you could also remove the OUT(ENC)p=1 parameter for BIODSL, as it serves no purpose (it will just be ignored).
Reply
#7
Thak you, it's works!
Somehow, I had mistakenly thought that VEDA would fix the PCG when importing.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  A quick question to further understand INPUT and SHARE-IN [email protected] 9 368 08-05-2025, 07:47 PM
Last Post: [email protected]
  Bound on sum output [email protected] 1 284 04-02-2025, 11:36 PM
Last Post: Antti-L
  Power output constraint - EV battery Kristina.Haaskjold 5 622 23-01-2025, 07:19 PM
Last Post: Kristina.Haaskjold
  About the power curtailment and output shortage [email protected] 0 284 25-08-2024, 01:12 AM
Last Post: [email protected]
  TFM_UPD could not be input [email protected] 5 1,816 07-05-2024, 11:07 PM
Last Post: [email protected]
  Batteries input capacity constraint [email protected] 5 1,717 05-04-2024, 06:00 PM
Last Post: Antti-L
  Constraining input shares LucasD 3 1,436 04-01-2024, 09:33 PM
Last Post: LucasD
  Rounding all input data MikkelBosack 4 2,364 04-01-2024, 01:40 PM
Last Post: VictorG
Question VBA code in Veda input files AKanudia 11 3,982 29-12-2023, 09:50 AM
Last Post: AKanudia
Shocked Process creates output but has no capacity nor activity Lukas Novak 3 1,646 13-07-2023, 05:26 PM
Last Post: Lukas Novak

Forum Jump:


Users browsing this thread: 1 Guest(s)