PVsyst inverter

mimic pvsyst
I would like to mimic pvsyst so as to be bankable
a pvsyst inverter
Inverter model: efficiency says:

Set of 3 efficiency profiles: this is a more accurate definition: we define an efficiency profile as above for 3 different input voltages. At each step,  the simulation will perform a quadratic interpolation between these 3 curves, as function of the real input voltage.

Sandia grid inverter model
Any idea how the Sandia inverter model compares?
Other pvsyst inverters
There are 4 options single curve, Euro per weighted efficiency, etc..
See also grid inverter-efficiency curve

I agree, pvlib.inverter.pvsyst would be a good addition. In the case of PVsyst option 3, input consisting of three efficiency curves at 3 input voltages, these data are typical for an inverter datasheet. Perhaps we can start there, since I don't know how PVsyst builds the curves from CEC efficiency and threshold power (option 4).
The Sandia inverter model assumes that the efficiency curves evolve linearly as the input DC voltage changes; as @Peque has pointed out, a given device might not follow that linear behavior. An interpolation would be more general.

Would it be interesting to support reading .ond files directly from pvlib? For what I know, it is a non-standard and not documented format used by PVSyst to import/export module data, but maybe I am wrong (?).

The ability to read in .OND files (inverters) and .PAN files (modules) would be a big help for people trying to transition to pvlib from PVSyst.

I think @frivollier has shared some tools  to read OND and PAN files. I would support adding capabilities to pvlib, either directly or by importing from @frivollier 's project if there's intention to maintain that project.

CanadianSolar CASSYS is another source of code to parse and model inverters:

inverters.cs
DatabaseImportModule.vba - even includes reading Delphi-native real48 datatypes from the binary OND files.

Despite some good intentions I won’t be maintaining or updating this
project  to read PAN files but I could help anyone that want to take it
over.
Fred
On Tue, Jul 14, 2020 at 3:15 PM Cliff Hansen<EMAIL_ADDRESS>wrote:

I think @frivollier https://github.com/frivollier has shared some tools
https://github.com/frivollier/pvsyst_tools to read OND and PAN files. I
would support adding capabilities to pvlib, either directly or by importing
from @frivollier https://github.com/frivollier 's project if there's
intention to maintain that project.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pvlib/pvlib-python/issues/1002#issuecomment-658363265,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALHKPXBNGXK6JPUQJ5CFGTR3SVGZANCNFSM4OZDEGPA
.

--
Frederic

In https://github.com/pvlib/pvlib-python/issues/1199#issuecomment-801431990 @cwhanse said:

That would be a nice addition to pvlib. But, to my knowledge the inverter model in Pvsyst is not fully documented. The Pvsyst license prohibits reverse engineering the software. Without reference to complete and open documentation, I don't think we can add inverter.pvsyst and claim that it's the model in Pvsyst.

Just curious, is that still the case?  Do we expect to ever be able to address this feature request?

Just curious, is that still the case?

AFAIK, yes.

Should we just close this issue? AFAIK pvsyst just interpolates between the curves to get the efficiency. I don't know how it compares to Sandia grid inverter model, but I think it can't be bad to have a function that just does that. I also think the ability to read PAN and OND files would be very helpful. And measurements from the CEC solar equipment lists too while we're at it.

OK with me to close, or to keep the issue open. It would be nice to have the Pvsyst inverter model in pvlib, the real blocker is the lack of documentation.

I'm not sure if the above function works, as you say, there's no docs - which according to the pvlib ethos means it doesn't go in - soo... how about a gallery example or we start a contrib folder?

The interpolation is simple enough that I'm ok adding it with the docstring being the reference, if you are persuaded that there's demand for it. It would fill a gap between the Sandia/adriesse models (which require fitting) and the PVWatts model (a single parameter), in that this interpolation could work from the data in the CEC listing or from digitized datasheet curves.

Does anyone else see the irony here?  The opening line is:

I would like to mimic pvsyst so as to be bankable

And:

It would be nice to have the Pvsyst inverter model in pvlib, the real blocker is the lack of documentation.

Please let the banks know!

If you have some data and are tempted to use interpolation, I suggest you also give the fitting routine for the ADR inverter model a try. It is located here.
This model is well-documented, and being based on the summation of physically explained losses it is pretty much constrained to produce physically correct efficiency curves.  If there is enough demand I can move it to pvlib.

Maybe we could join forces and publish a paper with a title like "Bankability assessment of inverter simulation models" in a publication that bankers read.

There might be details of the PVSYST inverter model in the CASSYS
documentation.
https://github.com/CanadianSolar/CASSYS/tree/master/Documents and Help
On Sat, Apr 9, 2022 at 3:39 AM Anton Driesse @.***>
wrote:

Does anyone else see the irony here? The opening line is:
I would like to mimic pvsyst so as to be bankable
And:
It would be nice to have the Pvsyst inverter model in pvlib, the real
blocker is the lack of documentation.
Please let the banks know!
—
Reply to this email directly, view it on GitHub
https://github.com/pvlib/pvlib-python/issues/1002#issuecomment-1093779207,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALHKPXJQJCH73SN5FOYRWLVEEX35ANCNFSM4OZDEGPA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Frederic

We could implement the interpolation model described in CASSYS documentation, call it the CASSYS model, and point to the comparison with Pvsyst which shows the two models' results are close.

Good idea, starts here:
https://github.com/CanadianSolar/CASSYS/blob/b5487bb4e9e77174c805d64e3c960c46d357b7e2/CASSYS Engine/Inverter.cs#L108

There are some graphs in these publications illustrating what can go wrong with generic numeric interpolation:
https://www.researchgate.net/project/PV-System-Simulation-Software-Validation

Sorry, I just inadvertently deleted the repository I referred to above.  I'll recreate it later.

I found this thread while trying to mimic PVSyst's inverter efficiency model.  I wrote  a small script to try to emulate, but noticed some strange behavior:
Notes:

I wrote the script to calculate the final efficiency in a looping fashion so that I could step through individual values.
I am not sure if PVSyst is linearly interpolating the efficiency vs power curves at each respective voltage using all available points in the curve or if it is generating a piecewise linear interpolation.  I have written the code below to linearly interpolate using all available points, and therefore the resulting interpolation is not piecewise.
The quadratic interpolation gives an upside down curve [Figure 1].  I noticed in the Cassys source code [Figure 2] that the efficiency curve at a given power is divided by the input power, which is not done in the python code below.

Figure 1

Figure 2
[inverter.csv](https://github.com/pvlib/pvlib-python/files/10878360/inverter.csv)

import numpy as np
import pandas as pd
import plotly.graph_objects as go

# --- Efficiency Curves from OND ---
LowVoltage = 962
LowVoltageEffCurve = pd.DataFrame({
    'Power': [225, 447, 891, 1336, 2227, 3345, 4468],
    'Efficiency': [97.68, 98.47, 98.79, 98.83, 98.79, 98.66, 98.47]
})

MidVoltage = 1144
MidVoltageEffCurve = pd.DataFrame({
    'Power': [227, 449, 893, 1338, 2230, 3350, 4477],
    'Efficiency': [96.77, 98.01, 98.53, 98.63, 98.64, 98.52, 98.27]
})

HighVoltage = 1193
HighVoltageEffCurve = pd.DataFrame({
    'Power': [228, 449, 893, 1339, 2231, 3351, 4479],
    'Efficiency': [96.55, 97.95, 98.49, 98.57, 98.59, 98.47, 98.23]
})

VoltageLevels = [LowVoltage, MidVoltage, HighVoltage]

# --- Read in performance data ---
df = pd.read_csv('inverter.csv')
df['DC Power at MPP (kW)'] = df['DC Power at MPP (W)'] / 1000

# --- Do Interpolations ---
xs = []
ys = []
for i, row in df.iterrows():
    x = row['DC Power at MPP (kW)']
    v = row['DC Voltage at MPP (V)']

    # --- given power, predict efficiency ---
    LowVoltageCoeff = np.polynomial.polynomial.polyfit(
        LowVoltageEffCurve['Power'], LowVoltageEffCurve['Efficiency'], deg=1
    )
    MedVoltageCoeff = np.polynomial.polynomial.polyfit(
        MidVoltageEffCurve['Power'], MidVoltageEffCurve['Efficiency'], deg=1
    )
    HighVoltageCoeff = np.polynomial.polynomial.polyfit(
        HighVoltageEffCurve['Power'], HighVoltageEffCurve['Efficiency'], deg=1
    )

    LowVoltageEfficiency = (LowVoltageCoeff[1] * x) + LowVoltageCoeff[0]
    MidVoltageEfficiency = (MedVoltageCoeff[1] * x) + MedVoltageCoeff[0]
    HighVoltageEfficiency = (HighVoltageCoeff[1] * x) + HighVoltageCoeff[0]

    QuadFitCoeff = np.polynomial.polynomial.polyfit(
        [LowVoltage, MidVoltage, HighVoltage],
        [LowVoltageEfficiency, MidVoltageEfficiency, HighVoltageEfficiency],
        deg=2
    )

    y = (
        (QuadFitCoeff[2] * (v ** 2)) +
        (QuadFitCoeff[1] * v) +
        (QuadFitCoeff[0])
    )

    xs.append(x)
    ys.append(y)

fig = go.Figure()
fig.add_scatter(
    x=xs,
    y=ys,
    mode='markers'
)
fig.show(renderer='browser')

I also tried modifying @mikofski 's code to go line by line, it gives the correct curve orientation, but I had to add some new points at 0 for the scipy functions to complete the interpolation.  This may give the curve a more linear shape [Figure 1]

Figure 1
import numpy as np
import pandas as pd
import scipy
import plotly.graph_objects as go

eff_curves = {
    'power': [0, 227, 449, 893, 1338, 2230, 3350, 4477],
    'v1': [0, 97.68, 98.47, 98.79, 98.83, 98.79, 98.66, 98.47],
    'v2': [0, 96.77, 98.01, 98.53, 98.63, 98.64, 98.52, 98.27],
    'v3': [0, 96.55, 97.95, 98.49, 98.57, 98.59, 98.47, 98.23]
}
eff_curves = pd.DataFrame(eff_curves)
eff_curves = eff_curves.set_index('power')

voltages = [0, 962, 1144, 1193]

df = pd.read_csv('inverter.csv')
df['DC Power at MPP (kW)'] = df['DC Power at MPP (W)'] / 1000

f1 = scipy.interpolate.interp1d(x=eff_curves.index, y=eff_curves['v1'])
f2 = scipy.interpolate.interp1d(x=eff_curves.index, y=eff_curves['v2'])
f3 = scipy.interpolate.interp1d(x=eff_curves.index, y=eff_curves['v3'])

xs = []
ys = []
for i, row in df.iterrows():
    x = row['DC Power at MPP (kW)']
    v = row['DC Voltage at MPP (V)']
    eff1 = f1(x)
    eff2 = f2(x)
    eff3 = f3(x)
    try:
        num_volts = len(voltages)
    except TypeError:
        num_volts = 1
    else:
        if num_volts > 1:
            g = scipy.interpolate.interp1d(x=voltages, y=[0, eff1, eff2, eff3], kind='quadratic')
            y = g(v)
    xs.append(x)
    ys.append(y)

fig = go.Figure()
fig.add_scatter(
    x=xs,
    y=ys,
    mode='markers'
)
fig.show(renderer='browser')

I have written the code below to linearly interpolate using all available points, and therefore the resulting interpolation is not piecewise. This was done to match the Cassys implementation.

I interpret the PVsyst description to be "piecewise interpolation".  I don't think a linear least-squares fit to all points in each curve is what is meant; it wouldn't be my first interpretation for the word "interpolation", and it doesn't make sense to fit straight lines to the full efficiency curves anyway.  The CASSYS implementation is also "piecewise" in the linear Pdc interpolation:
https://github.com/CanadianSolar/CASSYS/blob/b5487bb4e9e77174c805d64e3c960c46d357b7e2/CASSYS Engine/Interpolate.cs#L38
I haven't run any code myself but @mikofski's code in https://github.com/pvlib/pvlib-python/issues/1002#issuecomment-1089095634 looks right to me: linear interpolation (not least-squares fit) to get low/medium/high efficiencies for the given Pdc, then quadratic interpolation between those three efficiencies for the given Vdc.  Maybe adding (0,0) is needed if the curves in the OND files don't include it already.

I wasn't sure why the efficiency curved was divided by input power.

I can't make sense of that either.  Strange.

I agree, least squares would be throwing away good data points.


Can add "empty" cards

Not a feature
Is a bug

Oh well it used to prevent you from doing that....

https://github.com/kristenmills/pokemon-deck-builder/blob/master/src/js/components/pokemon-add.jsx#L87 Missed one this.state.set

Still happens when you change the quantity.

I know. I noticed yesterday.


Prometheus-master can not query any metrics when labelmap and hashmod are both configured  in Prometheus-slave

I am using Prometheus Federation in k8s.
The master configuration is as follows：
global:
  scrape_interval: 10s
  scrape_timeout: 10s
scrape_configs:
- job_name: 'dc_prometheus'
  honor_labels: true
  metrics_path: /federate
  params:
    match[]:
    - '{__name__=~".+"}'
  static_configs:
    - targets:
      - <IP_ADDRESS>:30092
      - <IP_ADDRESS>:30093

"<IP_ADDRESS>:30093" is the ip-address of slave1.
"<IP_ADDRESS>:30092" is the ip-address of slave0.
The slave1 configuration is as follows:
global:
  external_labels:
    slave: 1
  scrape_interval: 10s
  scrape_timeout: 10s
scrape_configs:
- job_name: 'kubernetes-pod'

  kubernetes_sd_configs:
  - role: pod

  relabel_configs:
  - action: labelmap
    regex: __meta_kubernetes_pod_label_(.+)
  - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
    action: replace
    target_label: __metrics_path__
    regex: (.+)
  - source_labels: [__address__]
    modulus: 2
    target_label: __tmp_hash
    action: hashmod
  - source_labels: [__tmp_hash]
    regex:     ^1$
    action: keep

I can query metrics successfully in slave1. But I can query nothing in master.
When querying in master, I tcpdumped "<IP_ADDRESS>:30093" . It showed that the slave sended the metrics to master.
However, I can query successfully in master when labelmap is removed in slave1 configuration .
The configuration is follows:
global:
  external_labels:
    slave: 1
  scrape_interval: 10s
  scrape_timeout: 10s
scrape_configs:
- job_name: 'kubernetes-pod'

  kubernetes_sd_configs:
  - role: pod

  relabel_configs:
  - source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_path]
    action: replace
    target_label: __metrics_path__
    regex: (.+)
  - source_labels: [__address__]
    modulus: 2
    target_label: __tmp_hash
    action: hashmod
  - source_labels: [__tmp_hash]
    regex:     ^1$
    action: keep

regex:     ^1$   -> .  regex:     ^0$
slave: 1  ->   slave: 0

max (scrape_samples_scraped) by (job)
up

It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided.


Add error reporting

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
From https://github.com/mui/mui-toolpad/issues/592.
Add automatic error reporting to Toolpad.
Examples 🌈
I'm most familiar with Sentry but feel free to suggest others.
The basic Next.js integration should probably be enough to start with?
Motivation 🔦
No response

I'm fine with Sentry. I think we can disable it for the self-hosted version for now. I'd keep telemetry for self-hosted Toolpad out of scope for this demo feature.

We have Sentry set up for https://mui.com/store/ https://www.notion.so/mui-org/Sentry-5784d0f006b9464b847953c3b23e5311. We also have the credentials here https://www.notion.so/mui-org/Accounts-945f0ccb9f7749ccb9e84b9eb9b13ec7#db24eea458014567a130b0849229356b.

@apedroferreira Regarding the website label, it's described at:

So, right now, it's about one page: https://mui.com/toolpad. However, It seems that we will use inside toolpad, the app.

@apedroferreira Regarding the website label, it's described as:

https://www.notion.so/mui-org/GitHub-labels-af1ef18d3f534f1dbc086aac87b819e8
So, right now, it's about one page: https://mui.com/toolpad/. It seems that we are tracking the addition of Sentry inside toolpad, the product.

Oh, I didn't notice you had removed the label, sorry!
I originally took the label from the original issue at https://github.com/mui/mui-toolpad/issues/592, but yeah I guess it's not the best label, it's probably not the best for other issues I've added it to either...


Drop additional files for Java debugger

This checkin outputs additional files that we will want to use in the java debugger from our official builds.

@chuckries can you take a look when you have a chance?

:+1:


Correct Go agent install link in server install footer

This fixes a broken link in the server install footer.

Hi - do you mind signing the CLA, once you sign, let me know and I can merge this.
Thanks

Done.


Dynamic port forwarding configuration

Hello guys,
I am trying to create a dynamic port forwarding config on Terminus, but I can't put an * to specify the remote port while configuring it. Is there a way to do it? I am trying to create a local SOCKS proxy to access my company web servers that are behind a firewall. I've already done it with putty but I really want to use just terminus and not use putty just to do just it.
Regards.
Thiago

https://github.com/Eugeny/terminus/issues/2077


[bazel] remove unused build targets

It looks like these build targets are unused / unnecessary as they are file groups that export a single target that could each be used directly.
Signed-off-by: Timothy Trippel<EMAIL_ADDRESS>

I'm not sure if the layer of indirection is enabling the data dependencies in rules/opentitan_test.bzl. That should be updated to point to opentitantool and if it works then I'm ok with this change.

I'm not sure if the layer of indirection is enabling the data dependencies in rules/opentitan_test.bzl. That should be updated to point to opentitantool and if it works then I'm ok with this change.

This used to include the configuration JSON files for opentitantool.  Those files are now built-ins; the test_resources target can be removed and any dependents on test_resources should be updated to just point at opentitantool.

yes, I plan on refactoring the opentitan.bzl and opentitan_test.bzl again in the near future (I did recently in #13979), once #14532 is closed and we have more CI coverage to catch mistakes that will likely occur when doing so that could cause large regressions in the nightlies.


Cosmetic - dialog border stric button text

Cosmetics - you need to add 14 pixels to the minimum height of the process properties window, since at a height of 526 pixels, the lower frame of the internal dialog is at the level of 1/2 of the buttons height as shown in Fig. 1, if you increase the window height to 540 pixels, then the frame does not overlap the text and the window looks correct - fig. 2.

This cosmetics artifact's is exist up to v3.0.8646.4119 Git-af171876

You've figured out the minimum height. Now the solution is don't make the window that small.

Why can't I reproduce this issue in Win10? The screenshot looks like Win7 (or Win10 without DWM).

OS Win7 SP1, Aero included. In principle, a purely visual trifle is noticeable only if you look at it or if the image scale is more than 2: 1 using a magnifying glass, it will take a minute to put down the minimum window size in the source code and send the diff. I wrote down more so as not to forget ...

v3.0.8657.4130 Git-8e34b89b - resolved. Big thanks!

@VictorVG
I haven't changed anything 🤔

I do the same, but the main thing is that the result is correct. Now I'll also check the artifacts elsewhere - in to Far Manager :: Brocken dialog in to b5788 Git-15646640d  (https://github.com/VictorVG/latest/issues/14) and then somehow unexpectedly - you open the menu, and there the dialogue is broken - another fan asked for custom colors. :)


[nfc] Fix a few warnings I introduced.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves #NNNNN, fix apple/llvm-project#MMMMM.

@swift-ci please smoke test


Issues with using this plugin in newest version of flutter

I was having the same initial errors as defined in issue #1. However, after following the instructions, I now no longer get an error, instead don't get a build at all. The Xcode build time doubled, and now the application hangs on the Install and Launch option.
Flutter version: 1.0
CocoaPods version: 1.5.3
I've attached my pod file if that helps.
Podfile.zip

You can try this pull request https://github.com/loup-v/beacons/pull/30.
I needed to add this to the info.plist:
<key>NSLocationAlwaysUsageDescription</key>
<string>Reason why app needs location</string>
<key>NSLocationUsageDescription</key>
<string>Reason why app needs location</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Reason why app needs location</string>
<key>UIBackgroundModes</key>
<array>
    <string>fetch</string>
    <string>location</string>
    <string>remote-notification</string>
</array>

In case of a Dart VM error, this should work: https://github.com/flutter/flutter/issues/24641#issuecomment-442920402


Compiler error for VC10 removed

modified:   modules/line_descriptor/perf/perf_matching.cpp
modified:   modules/line_descriptor/test/test_matcher_regression.cpp

If have observed two compiler errors when compiling with MS Visual Studio 2010. The
reason is the function  pow( 2, i ) . The first argument should not be an integer but rather
a float or double number. For this reason, I have replaced this function by  pow( 2.0, i ) ,
I have done this in two cases. The changes should not have any effect on the calculation.

Any ideas why "(2 << i)" can't be used here?

@alalek
This is a good idea. However, it must be (1<<i). I have checked that pow(2,i) is
equivalent to (1<<i). Thus I have made one more change to replace  pow( 2.0, i )
by ( 1 << i ). This has been done in the two cases as before.

@alalek
This is a good idea. However, it must be (1<<i). I have checked that pow(2,i) is
equivalent to (1<<i). Thus I have made one more change to replace  pow( 2.0, i )
by ( 1 << i ). This has been done in the two cases as before.

:+1:


Add filtering when choosing merge requests

Solves #338
Let me know if this change works:

Changed /merge_request from GET to POST
choose_merge request in state.lua now accepts a Lua table acting as gitlab params. Also changed refresh to true

This looks pretty close to me, thank you for contributing!
Can you please also adjust the doc/gitlab.nvim.txt to update the signature for gitlab.choose_merge_request so that the opts are updated for this function?

Merged this into develop and will release it to main sometime next week! Thank you for the contribution!!


Do we need to mark presenter classes as Stable?

Updating to latest lint and getting this:
    <issue
        id="ComposeUnstableReceiver"
        message="Instance composable functions on non-stable classes will always be recomposed. If possible, make the receiver type stable or refactor this function if that isn't possible. See https://slackhq.github.io/compose-lints/rules/#unstable-receivers for more information."
        errorLine1="    fun present("
        errorLine2="        ~~~~~~~">
        <location
            file="src/main/kotlin/com/foo/MyPresenter.kt"
            line="28"
            column="9"/>
    </issue>

Seems like a lint bug, presenters should inherit from the supertype. Can you please file on the lints repo with a repro?

(this was not a lint bug, MyPresenter wasn't actually inheriting from the circuit class 😭)


[BUG] CRC VM does not start on Fedora CoreOS 33

General information

OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it (Yes)?
Running CRC on: VM (kvm)

CRC version
CodeReady Containers version: 1.25.0+0e5748c8
OpenShift version: 4.7.5 (embedded in executable)

CRC status
CRC VM:          Running
OpenShift:       Unreachable (v4.7.5)
Disk Usage:      0B of 0B (Inside the CRC VM)
Cache Usage:     29.58GB
Cache Directory: /var/home/developer/.crc/cache

CRC config
- consent-telemetry                     : no
- host-network-access                   : true

Host Operating System
NAME=Fedora
VERSION="33.20210412.3.0 (CoreOS)"
ID=fedora
VERSION_ID=33
VERSION_CODENAME=""
PLATFORM_ID="platform:f33"
PRETTY_NAME="Fedora CoreOS 33.20210412.3.0"

Steps to reproduce

crc setup
crc start

Expected
crc status shows available and ssh/https connections can be initiated
Actual
The containers are not reachable
Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

Please consider posting the output of crc start --log-level debug  on http://gist.github.com/ and post the link in the issue.
https://gist.github.com/ligius-/495d6959315fef1f1014fcad780d9527

@ligius- we didn't test the crc on fedora coreos yet. As per logs it is not able to determine the IP of the level=warning msg="Unable to determine VM's IP address, did it fail to boot? can you try to use virsh list --all and see if the VM is running?

Hi @praveenkumar , thank you for replying
[developer@dev ~]$ sudo virsh list --all
 Id   Name   State
----------------------
 5    crc    running

[developer@dev ~]$ sudo virsh net-edit default

<network>
  <name>default</name>
  <uuid>a72fa53e-0003-4c43-9185-4c92cd75ac04</uuid>
  <forward mode='nat'/>
  <bridge name='virbr0' stp='on' delay='0'/>
  <mac address='52:54:00:27:e7:f0'/>
  <ip address='<IP_ADDRESS>' netmask='<IP_ADDRESS>'>
    <dhcp>
      <range start='<IP_ADDRESS>' end='<IP_ADDRESS>'/>
    </dhcp>
  </ip>
</network>

For crc:
<network>
  <name>crc</name>
  <uuid>49eee855-d342-46c3-9ed3-b8d1758814cd</uuid>
  <forward mode='nat'>
    <nat>
      <port start='1024' end='65535'/>
    </nat>
  </forward>
  <bridge name='crc' stp='on' delay='0'/>
  <mac address='52:54:00:fd:be:d0'/>
  <ip family='ipv4' address='<IP_ADDRESS>' prefix='24'>
    <dhcp>
      <host mac='52:fd:fc:07:21:82' ip='<IP_ADDRESS>'/>
    </dhcp>
  </ip>
</network>

[developer@dev ~]$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
From <IP_ADDRESS> icmp_seq=1 Destination Host Unreachable
From <IP_ADDRESS> icmp_seq=2 Destination Host Unreachable
From <IP_ADDRESS> icmp_seq=3 Destination Host Unreachable
^C
--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4108ms
[developer@dev ~]$ sudo virsh net-list
 Name      State    Autostart   Persistent
--------------------------------------------
 crc       active   yes         yes
 default   active   yes         yes

[developer@dev ~]$ sudo virsh net-info crc
Name:           crc
UUID:           49eee855-d342-46c3-9ed3-b8d1758814cd
Active:         yes
Persistent:     yes
Autostart:      yes
Bridge:         crc

[developer@dev ~]$ sudo virsh net-dhcp-leases crc
 Expiry Time   MAC address   Protocol   IP address   Hostname   Client ID or DUID
-----------------------------------------------------------------------------------

[developer@dev ~]$ sudo virsh net-dhcp-leases default
 Expiry Time   MAC address   Protocol   IP address   Hostname   Client ID or DUID
-----------------------------------------------------------------------------------

[developer@dev ~]$ sudo virsh domifaddr crc
 Name       MAC address          Protocol     Address
-------------------------------------------------------------------------------

I took a look at the kvm console and it seems it's stuck after a few seconds during power-on. I assume it's some processor incompatibility or some other issue related to kvm or hardware, but not to CRC. I assume then that this ticket is not very relevant.

@ligius- yes if that is the issue then yes it is not the crc specific. Also can you provide details on what OS is running on hypervisor side? I can see you are running Fedora CoreOS in a VM so the hypervisor OS might play role there.

FCOS is running inside a KVM, so the flow would be hardware -> kvm -> FCOS -> kvm -> crc container (also FCOS?). If it's alright with you, I would suggest closing this issue, I've initiated a re-installation of the OS on the host machine, hopefully with Debian it will work smoother.

@ligius- Sure, closing it now.


Which connection string should be used for geo-replication failover?

Consider the following scenario:
The client application has a connection string primaryserver.database.windows.net, that connects to primary instance of the geo-replicated database. In case of failover the database on the secondaryserver becomes active. But application still refers to old primaryserver.
Will application calls to the database fail until connection string will be changed to secondaryserver.database.windows.net?
Or I have to create failover group and use the  myfailovergroup.database.windows.net as a common listener name for primaryserver and secondaryserver. If it is the only way, so creating geo-replication without failover group doesn’t have much benefits, and should be considered for advanced scenarios, keeping failover groups as recommended way for any failover process.
Please clarify.
In general, geo-replication and failover group processes are similar, and it will be useful to have a section to describe common and differences and when one or another should be used.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 16170e73-99ca-1a2f-b5ba-b4f0396e3e39
Version Independent ID: d83478e0-f123-5fe6-6f17-3d118eb280da
Content: Active geo-replication - Azure SQL Database
Content Source: articles/sql-database/sql-database-active-geo-replication.md
Service: sql-database
Sub-service: high-availability
GitHub Login: @anosov1960
Microsoft Alias: sashan

@MNF Thanks for the question! We are investigating and will update you shortly.

@MNF You can now create a failover group and set up auto-failover and then you will have a read/write listener connection string
Go to the Azure SQL Server (not a specific database) -> Failover Groups -> Create and fill in the required info - servers, DBs and policy

After the group is created you will have a listener connection string you can use across both DBs in the failover group configuration details

For more info, please check https://docs.microsoft.com/en-us/azure/sql-database/sql-database-geo-replication-overview#auto-failover-group-capabilities
Also, it depends upon your design requirement : Refer this doc  for design prespective.
Hope it helps. Please let us know if you need more information,

@MNF
We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Multiple MIDI output device

Have you ever considered the option to add another parameter to the MIDI note operator to select additional MIDI output devices?
I was considering to experiment with a numeric an index to select the ouput device, to be able to drive additional external instruments, beyond the single device currently available.

I have, but it makes the Midi operator too long to use for my likes, feel free to create your own midi operator too, if you don't need velocity, you could get rid of velocity and you'd have an operator with 5 ports which is pretty much the limit of usability.

We could adopt the Pure Data approach. It overflows channels to the next available devices. For example channel 17 would become channel 1 of the second device.


[FEATURE] Update my data

Description
I want to update my data.
If possible and if it's valid to do, add the Hacktoberfest label.
Screenshots
No response
Additional information
No response

Unfortunately this is not included in hacktoberfest.

Yep!


Feat/swarinfo 120 urdf update

Modifications of the Pioneer URDF

Changed the position of the sensors according to their real-life positions
Changed the Intel Realsense-Ros submodule for a forked version that contains the URDF of the D455
Changed the Kinect model for the Realsense camera models
Adjusted the simulated sensors pluggin to reflect more reality (camera parameters, frame positions,...)
Added an argument to set a camera or another
Remapped the topics of the simulated sensors
Adjusted the launchfile and the rviz config to work the new topic names

We use the D435i and the D455 in the project but never at the same time on the same robot. One robot will be equiped with a D435i and the other one with the D455


topicRedirect skipping reply

When trying to enter this topic
> topic:keep setup
  + setup
  - who are you?

  + *~2
  % who are you
  - ^save(name,<cap>) Nice to meet you <cap>! {topic=random}
< topic

it functions as expected if the input is 'setup'.  However, when entering it through a topic redirect, it jumps right through to to the second trigger. (redirect is triggered with 'redirect setup' input and the following ss:
+ redirect setup
- {keep} ^topicRedirect(setup,setup)

Update: redirect will actually pass through 'redirect setup' as the input into the second trigger in the topic. So, and input of 'redirect setup' in topic=random will lead to an output of 'Nice to see you redirect setup!'

Should be fixed in v1.0.0, thanks for all the reports! :+1:


fix(types): fix and clean up types for request.ts

Towards #460

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)

Thank you for reviewing. Took care of the questions


Reword commit error

Description

When reword commit using vi, after editing the commit message and save, the vi will exit abnormally.(even in raw nvim terminal)
To Reproduce

open lazygit in nvim
edit commit message
execute save in vi

Expected behavior
What is expected to happen:
edit commit message successfully
Screenshots

Desktop (please complete the following information):

Sorry I didn't get to this. Did you figure out the issue?


Selenium Requests Error

Describe the bug
A clear and concise description of what the bug is.
My normal daily script run stopped a few days ago, I noticed that possibly chrome driver updated so when through all of that to make sure I had the right driver working (confirmed as I have another selenium chrome script that works fine in the same directory).  Mint looked like it was going to start working, selenium chrome browser popped up, went to the site and then it just crashes with the error below every time.
What version of MintAPI are you using?
1.63
What command[s] did you run / steps to reproduce?
import mintapi
import pandas as pd
import gspread
import time
from df2gspread import df2gspread as d2g
from oauth2client.service_account import ServiceAccountCredentials
from config import username, password
mint = mintapi.Mint(
username,  # Email used to log in to Mint
password,  # Your password used to log in to mint
# Optional parameters
mfa_method='soft-token',  # See MFA Methods section
# Can be 'sms' (default), 'email', or 'soft-token'.
# if mintapi detects an MFA request, it will trigger the requested method
# and prompt on the command line.
mfa_input_callback=None,  # see MFA Methods section
# can be used with any mfa_method
# A callback accepting a single argument (the prompt)
# which returns the user-inputted 2FA code. By default
# the default Python input function is used.
mfa_token='LSOFVR[XXXXXXXXX]3SJJDXBKV',   # see MFA Methods section
# used with mfa_method='soft-token'
# the token that is used to generate the totp
intuit_account=None, # account name when multiple accounts are registered with this email.
headless=False,  # Whether the chromedriver should work without opening a
# visible window (useful for server-side deployments)
# None will use the default account.
session_path=r"C:\Users\XXXXXXXX\Dropbox\Repos\python\mintPipeline\SessionPath", # Directory that the Chrome persistent session will be written/read from.
# To avoid the 2FA code being asked for multiple times, you can either set
# this parameter or log in by hand in Chrome under the same user this runs
# as.
imap_account=None, # account name used to log in to your IMAP server
imap_password=None, # account password used to log in to your IMAP server
imap_server=None,  # IMAP server host name
imap_folder='INBOX',  # IMAP folder that receives MFA email
wait_for_sync=False,  # do not wait for accounts to sync
wait_for_sync_timeout=300,  # number of seconds to wait for sync
use_chromedriver_on_path=False,  # True will use a system provided chromedriver binary that
# is on the PATH (instead of downloading the latest version)
)
time.sleep(5)
#Get transactions data
transactions = mint.get_transactions()
Stacktrace/error received:
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=53352): Max retries exceeded with url: /session/d7823210e0752bc09c8b9de4342476c3/window/handles (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0000019B825C6850>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))
What did you expect to happen?
Expected to login and my script to run
What actually happened?
Debugged headless and window pops up but then quickly goes away and the error shows up after about 10 more seconds
Additional context
Add any other context about the problem here.

Thanks! Did you by chance take a look at recently filed issues like https://github.com/mintapi/mintapi/issues/405 to see if that might the same?

@mrooney  According to the Discord channel it sounds like they might all be related to the new CSS changes, but I will not know until that part is fixed I guess since I seem to get a selenium server error.  I will update once I hear that other issue is addressed.  Thanks!


Fixes #2247. Preparing for the NStack v1.0.7 which now handling properly non-BMP code points.

Fixes #2247 - There is still needed to fix non-BMP for the WindowsDriver and CursesDriver. For this to work is needed to install the NStack v1.0.7 which can now be published.
Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[x] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

@BDisp this PR fails to build.

@BDisp this PR fails to build.

Because I couldn't update to the NStack v1.7.0 yet. You must republish it first.

@BDisp this PR fails to build.

Because I couldn't update to the NStack v1.0.7 yet. You must republish it first.


typo error should be application subnet

[Enter feedback here]
Hi Team,
it's a great doc. but there is a typo in the doc regarding to this sentence “Application Gateway subnet redirects the packets to Azure Firewall Premium.” it should be "Application subnet redirects the packets to Azure Firewall Premium". I see other example also have this typo. could you please help correct it?
Regards,
Vincent

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4f623b3a-09d7-d793-b007-85b59727c1df
Version Independent ID: ec0506cd-cdba-784c-6832-ea59697dd39c
Content: Zero-trust network for web applications with Azure Firewall and Application Gateway - Azure Architecture Center
Content Source: docs/example-scenario/gateway/application-gateway-before-azure-firewall.yml
Service: architecture-center
Sub-service: azure-guide
GitHub Login: @erjosito
Microsoft Alias: jomore

@lbimsft Thanks for reaching out. We will investigate and update the thread accordingly.

Thanks for the feedback @lbimsft! I have just corrected the typo, hopefully it is better now (it will take some time for the PR to propagate to the docs).

Thanks for catching that @lbimsft !