Open gautamp8 opened 1 week ago
Thank you for capturing this in the ticket @gautamp8. We discussed this internally at length. It appears that the current structure is as follows:
This is unusual and somewhat confusing for the following reasons:
At the moment the structure is as follows:
Perhaps the following is more appropriate:
Please let me know if this makes sense to you. If what we are suggesting is good for you then the following would be our suggestion:
This will sort out the issue for linking manual and automatic MRs.
Context
Usually external monitoring data is sent by an installer or sensor with a new DID. Technically,
ref
variable becomes the DID of the new device.In metered energy policy, there is a need to prepare monitoring report schema programmatically by stitching daily usage data(sent by sensors) with PDD data originally entered by project proponent.
There's two approaches provided in the policy for creating a monitoring report.
1) Using Add Report button and filling the form manually
In this case a
ref
unique to the project gets attached to it automatically(notice the UUID row ).2) External data comes in, goes via a calculate block to generate a monitoring report. In this case,
ref
is automatically added as DID. This MR doesn't have reference to existing project.I need to figure out a way to keep the programmatically generated monitoring report via option 2 to retain original PDD reference.
Attachments
Python script needs the path to .config file downloaded. It's not possible to send nested schema VCs with MRV sender component, hence script is needed.