e4st-dev / E4ST.jl

Engineering, Economic, and Environmental Electricity Simulation Tool (E4ST)
GNU General Public License v3.0
7 stars 1 forks source link

Add DC Lines #74

Closed Ethan-Russell closed 1 year ago

Ethan-Russell commented 1 year ago

Want to add DC lines to the Model.

In MATLAB E4ST, these are modeled as pairs of matched generators where their energy generated is negative of each other.

I think we can do a little better in the new version, with only n_hours*n_years variables instead of 2*(n_hours*n_years + n_years) variables required for the matched generator set.

We can have a single variable pflow_dc (for every hour and year), where that gets added to p_flow_bus for the from bus, and subtracted for the to bus.

@DanShawhan do you remember if we model any losses for DC lines? That could make things a bit tricky

DanShawhan commented 1 year ago

Hi Ethan,

We have modeled DC lines as lossless so far. We effectively model ac lines as lossless too (even though we increase loads to represent losses), and as long as we do so, modeling dc lines as lossless is probably better because otherwise our optimizations would try to avoid using dc lines relative to ac lines, which doesn't happen in reality.

Dan

From: Ethan Russell @.> Sent: Monday, February 27, 2023 4:23 PM To: e4st-dev/E4ST.jl @.> Cc: DanShawhan @.>; Mention @.> Subject: [e4st-dev/E4ST.jl] Add DC Lines (Issue #74)

Want to add DC lines to the Model.

In MATLAB E4ST, these are modeled as pairs of matched generators where their energy generated is negative of each other.

I think we can do a little better in the new version, with only n_hoursn_years variables instead of 2(n_hours*n_years + n_years) variables required for the matched generator set.

We can have a single variable pflow_dc (for every hour and year), where that gets added to p_flow_bus for the from bus, and subtracted for the to bus.

@DanShawhanhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDanShawhan&data=05%7C01%7Cshawhan%40rff.org%7Cd992c1e77ccd48ed594708db1908ce74%7Cb29f848db9144be4ad1f89bdbdb8030a%7C0%7C0%7C638131297846602537%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=OuxKgkavadR91LUhJqvMhggkD67qbvAtP5Cn2l7ZAK4%3D&reserved=0 do you remember if we model any losses for DC lines? That could make things a bit tricky

- Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fe4st-dev%2FE4ST.jl%2Fissues%2F74&data=05%7C01%7Cshawhan%40rff.org%7Cd992c1e77ccd48ed594708db1908ce74%7Cb29f848db9144be4ad1f89bdbdb8030a%7C0%7C0%7C638131297846602537%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=cICzWBHydp%2Fb%2FCo8dsV6fN%2BYpRHVyoi0k6%2FxrzAqjAA%3D&reserved=0, or unsubscribehttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FA4EIVQFKQUCWTAPPFU46Z5LWZULLHANCNFSM6AAAAAAVJ5K6BM&data=05%7C01%7Cshawhan%40rff.org%7Cd992c1e77ccd48ed594708db1908ce74%7Cb29f848db9144be4ad1f89bdbdb8030a%7C0%7C0%7C638131297846602537%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=642QK1TB0AZe3GInU3Kp6%2Bou2M4yj7g9ActR9%2BbCyl8%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.**@.>>