Skip to content

Commit

Permalink
address minor comments
Browse files Browse the repository at this point in the history
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
  • Loading branch information
nitbharambe committed Oct 16, 2024
1 parent 20c6a01 commit 05d726b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/advanced_documentation/native-data-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ node['u_rated'] = [150e3, 10e3]

## Columnar data format

We can also represent the contents mentioned `NodeInput` struct in [Structured Array](#structured-array) for only specific attributes.
This is especially useful when the component in question, e.g., a transformer, has many default attributes. In that case, the user can save significantly on memory usage. Hence, we can term it into `NodeInputURated` which is of `double` type.
(Note again, its representation in C++ is not similar to that of `NodeInputURated`).
Additionally, we can represent the contents mentioned `NodeInput` struct in [Structured Array](#structured-array) for only specific attributes.
This is especially useful when the component in question, e.g., a transformer, has many default attributes. In that case, the user can save significantly on memory usage. Hence, we can term it into `NodeInputURated` which is of `double` type.
(note again, its representation in C++ core might be different than that of `NodeInputURated`).

One can create a `std::vector<NodeInputUrated>` to hold input for multiple nodes.
One can create a `std::vector<NodeInputURated>` to hold input for multiple nodes.
In a similar example we create attribute data with `u_rated` of two nodes of 150 kV and 10 kV.

```c++
Expand Down

0 comments on commit 05d726b

Please sign in to comment.